2022-10-14 20:43:32 +00:00
|
|
|
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';
|
2022-10-14 20:55:31 +00:00
|
|
|
import nodeModules from './node-modules';
|
2022-10-14 20:43:32 +00:00
|
|
|
|
|
|
|
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;
|