Skip to content

Commit

Permalink
Add --minify flag to build and EE version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilatch committed May 21, 2019
1 parent a46b030 commit fa02e82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generators/app/templates/_multiComponent_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "<%= description %>",
"main": "dist/bundle.class.js",
"scripts": {
"build": "easy-element build src<%= preprocessor !== 'none' ? ` -p ${preprocessor}` : '' %> --bundle",
"build": "easy-element build src<%= preprocessor !== 'none' ? ` -p ${preprocessor}` : '' %> --bundle --minify",
"build/watch": "easy-element watch src<%= preprocessor !== 'none' ? ` -p ${preprocessor}` : '' %> --bundle",
"dev": "nf --procfile commands/dev.Procfile start",
"start": "browser-sync start -c bs-config.js"
Expand Down
2 changes: 1 addition & 1 deletion generators/app/templates/_singleElement_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "<%= description %>",
"main": "dist/<%= elementName %>.class.js",
"scripts": {
"build": "easy-element build src<%= preprocessor !== 'none' ? ` -p ${preprocessor}` : '' %>",
"build": "easy-element build src<%= preprocessor !== 'none' ? ` -p ${preprocessor}` : '' %> --minify",
"build/watch": "easy-element watch src<%= preprocessor !== 'none' ? ` -p ${preprocessor}` : '' %>",
"dev": "nf --procfile commands/dev.Procfile start",
"start": "browser-sync start -c bs-config.js"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "generator-easy-element",
"repository": "git@github.com:Pilatch/generator-easy-element.git",
"version": "1.2.1",
"version": "1.2.2",
"description": "Easily create cross-browser web components using easy-element",
"files": [
"generators"
Expand Down

0 comments on commit fa02e82

Please sign in to comment.