Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit f43ea77

Browse files
Merge branch 'rel/2.0.0-templates' into dev
2 parents d1198ae + c79db4e commit f43ea77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/ReactReduxSpa/webpack.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ module.exports = (env) => {
1717
},
1818
module: {
1919
rules: [
20-
{ test: /\.tsx?$/, include: /ClientApp/, use: 'awesome-typescript-loader?silent=true' }
20+
{ test: /\.tsx?$/, include: /ClientApp/, use: 'awesome-typescript-loader?silent=true' },
21+
{ test: /\.(png|jpg|jpeg|gif|svg)$/, use: 'url-loader?limit=25000' }
2122
]
2223
},
2324
plugins: [new CheckerPlugin()]
@@ -29,8 +30,7 @@ module.exports = (env) => {
2930
entry: { 'main-client': './ClientApp/boot-client.tsx' },
3031
module: {
3132
rules: [
32-
{ test: /\.css$/, use: ExtractTextPlugin.extract({ use: isDevBuild ? 'css-loader' : 'css-loader?minimize' }) },
33-
{ test: /\.(png|jpg|jpeg|gif|svg)$/, use: 'url-loader?limit=25000' }
33+
{ test: /\.css$/, use: ExtractTextPlugin.extract({ use: isDevBuild ? 'css-loader' : 'css-loader?minimize' }) }
3434
]
3535
},
3636
output: { path: path.join(__dirname, clientBundleOutputDir) },

0 commit comments

Comments
 (0)