@vixoniccom/module-packager 2.7.0-test.5 → 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 +7 -0
- package/main.js +1 -1
- package/package.json +1 -1
- package/webpack.config.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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
|
+
|
|
5
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)
|
|
6
13
|
|
|
7
14
|
|
package/main.js
CHANGED
|
@@ -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
|
-
|
|
117
|
+
static: path.join(__dirname, options.src, '..')
|
|
118
118
|
})
|
|
119
119
|
server.listen(options.port)
|
|
120
120
|
|
package/package.json
CHANGED
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
|
-
|
|
131
|
+
static: path.resolve(__dirname, options.src),
|
|
132
132
|
publicPath: `http://localhost:${options.port}/`,
|
|
133
133
|
inline: true
|
|
134
134
|
}
|