@cmmn/tools 1.6.6 → 1.6.7
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/bundle/rollup.config.js +3 -6
- package/package.json +2 -2
package/bundle/rollup.config.js
CHANGED
|
@@ -100,7 +100,7 @@ export class ConfigCreator {
|
|
|
100
100
|
return serve({
|
|
101
101
|
open: false,
|
|
102
102
|
contentBase: [this.outDir, path.join(this.root, 'assets')],
|
|
103
|
-
port: this.options.port
|
|
103
|
+
port: this.options.port,
|
|
104
104
|
historyApiFallback: true
|
|
105
105
|
});
|
|
106
106
|
}
|
|
@@ -137,10 +137,7 @@ export class ConfigCreator {
|
|
|
137
137
|
dedupe: this.options.dedupe || []
|
|
138
138
|
}),
|
|
139
139
|
commonjs({
|
|
140
|
-
requireReturnsDefault: "namespace"
|
|
141
|
-
dynamicRequireTargets: [
|
|
142
|
-
'node_modules/ulid/*.js'
|
|
143
|
-
]
|
|
140
|
+
requireReturnsDefault: "namespace"
|
|
144
141
|
}),
|
|
145
142
|
sourcemaps(),
|
|
146
143
|
builtins(),
|
|
@@ -199,7 +196,7 @@ export class ConfigCreator {
|
|
|
199
196
|
}
|
|
200
197
|
}));
|
|
201
198
|
}
|
|
202
|
-
if (this.options.devServer) {
|
|
199
|
+
if (this.options.devServer && this.options.port) {
|
|
203
200
|
result.push(this.devServer, this.livereload);
|
|
204
201
|
}
|
|
205
202
|
return result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmmn/tools",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.7",
|
|
4
4
|
"description": "Compilation, bundling, code generator, testing.",
|
|
5
5
|
"main": "dist/rollup.config.js",
|
|
6
6
|
"type": "module",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
},
|
|
75
75
|
"author": "",
|
|
76
76
|
"license": "ISC",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "01c259a853bd898adde91115187af71c666772c5"
|
|
78
78
|
}
|