This repository has been archived by the owner on Aug 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kyle Cesmat
committed
Sep 29, 2020
1 parent
f06f28f
commit 2bf9e57
Showing
6 changed files
with
1,036 additions
and
1,680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,8 @@ | ||
const webpack = require('webpack'); | ||
const base = require('./webpack.config'); | ||
|
||
module.exports = Object.assign({}, base, { | ||
mode: 'production', | ||
output: Object.assign({}, base.output, { | ||
filename: 'radium.min.js' | ||
}), | ||
plugins: [].concat(base.plugins || [], [ | ||
new webpack.optimize.UglifyJsPlugin({ | ||
compress: { | ||
warnings: false | ||
} | ||
}), | ||
new webpack.DefinePlugin({ | ||
'process.env': { | ||
// Signal production mode for React JS and other libs. | ||
NODE_ENV: JSON.stringify('production') | ||
} | ||
}) | ||
]) | ||
}) | ||
}); |
Oops, something went wrong.