@jseeio/jsee 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@jseeio/jsee",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "",
5
5
  "main": "dist/jsee.js",
6
6
  "private": false,
7
7
  "scripts": {
8
- "build-dev": "webpack --mode=development --progress --stats-children",
9
- "build": "webpack --mode=production --progress && npx webpack --mode=production --progress --env RUNTIME",
8
+ "build-dev": "webpack --mode=development --progress --stats-children --env DEVELOPMENT",
9
+ "build": "webpack --mode=production --progress && webpack --mode=production --progress --env RUNTIME",
10
10
  "watch": "nodemon --watch . --ignore dist --ext vue,js,css,html --exec 'npm run build-dev && npm test'",
11
11
  "prepublishOnly": "npm run build && npm test",
12
12
  "test": "jest test.js --detectOpenHandles",
package/webpack.config.js CHANGED
@@ -89,7 +89,9 @@ module.exports = (env) => {
89
89
  })],
90
90
  },
91
91
  // Source map
92
- devtool: 'eval'
92
+ devtool: env.DEVELOPMENT
93
+ ? 'eval-source-map'
94
+ : false
93
95
  }
94
96
 
95
97
  return config