|
|
@ -66,7 +66,7 @@ module.exports = { |
|
|
|
], |
|
|
|
], |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ test: /\.html$/, loader: 'raw-loader' }, |
|
|
|
{ test: /\.html$/, loader: 'raw-loader' }, |
|
|
|
{ test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'url-loader?limit=10000&mimetype=application/font-woff' }, |
|
|
|
{ test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'url-loader', options: { limit: 10000, mimetype: 'application/font-woff' } }, |
|
|
|
{ test: /\.(ttf|eot|svg|png|jpe?g|gif|ico)(\?.*)?$/i, |
|
|
|
{ test: /\.(ttf|eot|svg|png|jpe?g|gif|ico)(\?.*)?$/i, |
|
|
|
loader: `file-loader?context=${rootAssetPath}&name=[path][name].[hash].[ext]` }, |
|
|
|
loader: `file-loader?context=${rootAssetPath}&name=[path][name].[hash].[ext]` }, |
|
|
|
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader', query: { presets: ['env'], cacheDirectory: true } }, |
|
|
|
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader', query: { presets: ['env'], cacheDirectory: true } }, |
|
|
|