@vixoniccom/module-packager 2.7.0-test.4 → 2.7.0-test.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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.7.0-test.6](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.5...v2.7.0-test.6) (2022-07-15)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **release:** contentBase porperty was removed ([8b364cc](https://gitlab.com/mandomedio/vixonic/module-packager/commit/8b364cc84298210491844856564ada198c356561))
11
+
12
+ ## [2.7.0-test.5](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.4...v2.7.0-test.5) (2022-07-15)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **Release:** default value of config in options variable was reverted ([9c75fac](https://gitlab.com/mandomedio/vixonic/module-packager/commit/9c75fac9c189bfe5a7857c9a5f68ef50dcc3cc6b))
18
+
5
19
  ## [2.7.0-test.4](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.3...v2.7.0-test.4) (2022-07-15)
6
20
 
7
21
 
package/main.js CHANGED
@@ -8,7 +8,7 @@ const optionDefinitions = [
8
8
  { name: 'src', type: String, defaultValue: 'src' },
9
9
  { name: 'build', type: String, defaultValue: 'build' },
10
10
  { name: 'confDefinition', type: String, defaultValue: 'configuration' },
11
- { name: 'config', type: String, defaultValue: 'webpack.config.js' },
11
+ { name: 'config', type: String, defaultValue: './webpack.config.js' },
12
12
  { name: 'port', type: Number, defaultValue: 8080 },
13
13
  { name: 'mode', type: String, defaultValue: 'build' },
14
14
  { name: 'transpileOnly', type: Boolean },
@@ -114,7 +114,7 @@ function zip (callback) {
114
114
 
115
115
  function watch () {
116
116
  var server = new WebpackDevServer(webpack(require(options.config)(options)), {
117
- contentBase: path.join(__dirname, options.src, '..')
117
+ static: path.join(__dirname, options.src, '..')
118
118
  })
119
119
  server.listen(options.port)
120
120
 
package/package.json CHANGED
@@ -104,7 +104,7 @@
104
104
  "prerelease-test": "standard-version --prerelease test",
105
105
  "release": "standard-version"
106
106
  },
107
- "version": "2.7.0-test.4",
107
+ "version": "2.7.0-test.6",
108
108
  "devDependencies": {
109
109
  "standard-version": "^9.3.1"
110
110
  }
package/webpack.config.js CHANGED
@@ -128,7 +128,7 @@ module.exports = (options) => {
128
128
  config.output.publicPath = `http://localhost:${options.port}/`
129
129
  config.devtool = 'source-map'
130
130
  config.devServer = {
131
- contentBase: path.resolve(__dirname, options.src),
131
+ static: path.resolve(__dirname, options.src),
132
132
  publicPath: `http://localhost:${options.port}/`,
133
133
  inline: true
134
134
  }