mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-12 04:37:06 +03:00
27 lines
593 B
JavaScript
Executable File
27 lines
593 B
JavaScript
Executable File
const path = require('path');
|
|
const updateConfig = require('./user/modify_webpack_config');
|
|
|
|
const config = {
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.css?$/,
|
|
use: [{ loader: 'style-loader' }, { loader: 'raw-loader' }],
|
|
include: path.resolve(__dirname, '../')
|
|
},
|
|
{
|
|
test: /\.json?$/,
|
|
loader: 'json-loader',
|
|
include: path.resolve(__dirname, '../')
|
|
},
|
|
{
|
|
test: /\.woff2?(\?\S*)?$/,
|
|
loader: 'url?limit=65000&mimetype=application/font-woff'
|
|
}
|
|
]
|
|
}
|
|
};
|
|
|
|
updateConfig(config);
|
|
module.exports = config;
|