mirror of
https://github.com/containous/traefik.git
synced 2024-12-24 21:34:39 +03:00
42 lines
668 B
JavaScript
42 lines
668 B
JavaScript
module.exports = {
|
|
module: {
|
|
preLoaders: [
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /node_modules/,
|
|
loader: 'eslint'
|
|
}
|
|
],
|
|
|
|
loaders: [
|
|
{
|
|
test: /.json$/,
|
|
loaders: [
|
|
'json'
|
|
]
|
|
},
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /node_modules/,
|
|
loaders: [
|
|
'ng-annotate'
|
|
]
|
|
},
|
|
{
|
|
test: /.html$/,
|
|
loaders: [
|
|
'html'
|
|
]
|
|
},
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /(node_modules|.*\.spec\.js)/,
|
|
loader: 'isparta'
|
|
}
|
|
]
|
|
},
|
|
plugins: [],
|
|
debug: true,
|
|
devtool: 'cheap-module-eval-source-map'
|
|
};
|