mirror of
https://github.com/danog/react-datalist-input.git
synced 2024-12-11 17:09:39 +01:00
35 lines
608 B
JavaScript
35 lines
608 B
JavaScript
module.exports = {
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.(js|jsx)$/,
|
|
exclude: /node_modules/,
|
|
use: {
|
|
loader: "babel-loader"
|
|
}
|
|
},
|
|
{
|
|
test: /^(?!.*?\.module).*\.css$/,
|
|
use: ['style-loader', 'css-loader']
|
|
},
|
|
{
|
|
test: /\.module\.css$/,
|
|
use: ['style-loader', {
|
|
loader: 'css-loader',
|
|
options: {
|
|
modules: true
|
|
}
|
|
}]
|
|
},
|
|
|
|
{
|
|
test: /\.html$/,
|
|
use: [
|
|
{
|
|
loader: "html-loader"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}; |