Skip to content

Commit

Permalink
'jui-core' library version changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
seogi1004 committed Nov 29, 2018
1 parent 2c85fc2 commit f405b98
Show file tree
Hide file tree
Showing 5 changed files with 9,032 additions and 9 deletions.
9,019 changes: 9,018 additions & 1 deletion dist/jui-ui.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/jui-ui.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "juijs-ui",
"version": "2.3.0-es6",
"version": "2.3.1-es6",
"sideEffects": false,
"description": "JUI provide all kinds of UI components that are used in web pages. However, charts and grids are not included.",
"scripts": {
Expand Down Expand Up @@ -70,7 +70,7 @@
],
"dependencies": {
"jquery": "^3.3.1",
"juijs": "2.2.1-es6"
"juijs": "2.2.2-es6"
},
"devDependencies": {
"babel": "^6.23.0",
Expand Down
9 changes: 7 additions & 2 deletions webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin')

module.exports = (theme) => {
const entry = path.resolve(__dirname, 'bundles', `production.${theme}.js`);

return {
mode: 'production',
entry: {
'jui-ui': path.resolve(__dirname, 'bundles', `production.${theme}.js`)
'jui-ui': entry,
'jui-ui.min': entry
},
output: {
path: path.resolve(__dirname, 'dist'),
Expand All @@ -19,7 +22,9 @@ module.exports = (theme) => {
},
optimization: {
minimizer: [
new UglifyJsPlugin(),
new UglifyJsPlugin({
include: /\.min\.js$/
}),
new ExtractTextPlugin({
filename: `[name].${theme}.css`
})
Expand Down

0 comments on commit f405b98

Please sign in to comment.