Skip to content
Snippets Groups Projects
Verified Commit e417c27f authored by Wojciech Barcik's avatar Wojciech Barcik
Browse files

Improve syntax

parent 3b610eda
No related branches found
No related tags found
1 merge request!364Resolve "Don't inline JS source maps into production bundle"
...@@ -114,8 +114,18 @@ module.exports = { ...@@ -114,8 +114,18 @@ module.exports = {
}, },
], ],
}, },
{test: /\.js$|\.jsx$/, exclude: [/node_modules/, /\*\/app\/assets\/static\/\*\.js/], use: 'babel-loader'}, {
{test: /\.svg$/, use: 'svg-inline-loader'}, test: /\.js$|\.jsx$/,
exclude: [
/node_modules/,
/\*\/app\/assets\/static\/\*\.js/
],
use: 'babel-loader'
},
{
test: /\.svg$/,
use: 'svg-inline-loader'
},
{ {
test: require.resolve("blueimp-file-upload"), test: require.resolve("blueimp-file-upload"),
use: "imports?define=>false" use: "imports?define=>false"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment