diff options
Diffstat (limited to 'config/webpack/rules/index.js')
-rw-r--r-- | config/webpack/rules/index.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/webpack/rules/index.js b/config/webpack/rules/index.js new file mode 100644 index 000000000..bbf6b0187 --- /dev/null +++ b/config/webpack/rules/index.js @@ -0,0 +1,14 @@ +const babel = require('./babel'); +const css = require('./css'); +const file = require('./file'); +const nodeModules = require('./node_modules'); + +// Webpack loaders are processed in reverse order +// https://webpack.js.org/concepts/loaders/#loader-features +// Lastly, process static files using file loader +module.exports = { + file, + css, + nodeModules, + babel, +}; |