You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
soapbox/webpack/rules/index.ts

24 lines
539 B

import assets from './assets';
import babel from './babel';
import buildConfig from './babel-build-config';
import git from './babel-git';
import css from './css';
import gitRefresh from './git-refresh';
import nodeModules from './node-modules';
import type { RuleSetRule } from 'webpack';
// Webpack loaders are processed in reverse order
// https://webpack.js.org/concepts/loaders/#loader-features
const rules: RuleSetRule[] = [
...assets,
css,
nodeModules,
babel,
git,
gitRefresh,
buildConfig,
];
export default rules;