Skip to content

Commit

Permalink
Modify settings to build package
Browse files Browse the repository at this point in the history
  • Loading branch information
SebMeunier committed May 23, 2024
1 parent 14a178e commit 213917c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/js-cloudimage-360-view.min.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
],
"scripts": {
"start-demo": "webpack-dev-server --mode development --config config/webpack-demo.config.js",
"clean:build": "rm -rf build",
"clean:build": "shx rm -rf build",
"build:bundle": "npm run clean:build && webpack --mode production --config config/webpack-build.config.js",
"deploy:bundle": "npm run build:bundle && node bin/deploy-bundle",
"clean:dist": "rm -rf dist",
"clean:dist": "shx rm -rf dist",
"dist": "npm run clean:dist && babel src -d dist --copy-files",
"clean:demo": "rm -rf examples/dist",
"clean:demo": "shx rm -rf examples/dist",
"build:demo": "npm run clean:demo && webpack --mode production --config config/webpack-demo.config.js",
"deploy:demo": "gh-pages -d examples/dist",
"publish:demo": "npm run build:demo && npm run deploy:demo"
Expand Down Expand Up @@ -59,6 +59,7 @@
"isomorphic-fetch": "^3.0.0",
"mini-css-extract-plugin": "^0.9.0",
"mobile-detect": "^1.4.3",
"shx": "^0.3.4",
"style-loader": "^3.3.2",
"webpack": "^5.79.0",
"webpack-cli": "^5.0.1",
Expand Down

0 comments on commit 213917c

Please sign in to comment.