Skip to content

Commit

Permalink
feat: Remove library minification. Remove resolution of scss and json…
Browse files Browse the repository at this point in the history
… files (#44)
  • Loading branch information
tfoxy authored Aug 4, 2020
1 parent f880b26 commit fb3cf28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/webpack/webpack.config.app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const webpackConfig: webpack.Configuration = {

resolve: {
alias: resolveAliases(),
extensions: ['.ts', '.tsx', '.scss', '.js', '.jsx', '.json'],
extensions: ['.ts', '.tsx', '.js', '.jsx'],
},

module: {
Expand Down
6 changes: 5 additions & 1 deletion src/webpack/webpack.config.library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,17 @@ const webpackConfig: webpack.Configuration = {

resolve: {
alias: resolveAliases(),
extensions: ['.ts', '.tsx', '.scss', '.js', '.jsx', '.json'],
extensions: ['.ts', '.tsx', '.js', '.jsx'],
},

module: {
rules: resolveModuleRules(isDevelopment, true),
},

optimization: {
minimize: false,
},

plugins: resolvePlugins(isDevelopment, true, version),
};

Expand Down

0 comments on commit fb3cf28

Please sign in to comment.