sforkowany z mirror/soapbox
Webpack: disable fullySpecified resolving
rodzic
eee0b92313
commit
3a784bc436
|
@ -6,12 +6,21 @@ const css = require('./css');
|
|||
const assets = require('./assets');
|
||||
const nodeModules = require('./node_modules');
|
||||
|
||||
// https://github.com/webpack/webpack/issues/11467
|
||||
const disableFullySpecified = {
|
||||
test: /\.m?js/,
|
||||
resolve: {
|
||||
fullySpecified: false,
|
||||
},
|
||||
};
|
||||
|
||||
// Webpack loaders are processed in reverse order
|
||||
// https://webpack.js.org/concepts/loaders/#loader-features
|
||||
// Lastly, process static files using file loader
|
||||
module.exports = [
|
||||
...assets,
|
||||
css,
|
||||
disableFullySpecified,
|
||||
nodeModules,
|
||||
babel,
|
||||
git,
|
||||
|
|
Ładowanie…
Reference in New Issue