@ray-js/builder-web 0.10.0 → 0.10.2

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.
Files changed (2) hide show
  1. package/lib/build.js +1 -1
  2. package/package.json +5 -5
package/lib/build.js CHANGED
@@ -199,6 +199,7 @@ function build(options, context) {
199
199
  else {
200
200
  config.set('externals', Object.assign(Object.assign({}, externals), internalExternals));
201
201
  }
202
+ api.callPluginMethod('configWebpack', { config });
202
203
  if (watch) {
203
204
  const defaultHttpPort = parseInt(port);
204
205
  const httpPort = yield (0, detect_port_1.default)(defaultHttpPort);
@@ -232,7 +233,6 @@ function build(options, context) {
232
233
  };
233
234
  // todo web端的插件和ray-core 不一致
234
235
  const ip = address_1.default.ip();
235
- api.callPluginMethod('configWebpack', { config });
236
236
  const compiler = (0, webpack_1.default)(config.toConfig());
237
237
  const server = new webpack_dev_server_1.default(compiler, devOptions);
238
238
  server.listen(httpPort, '0.0.0.0', () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/builder-web",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Ray builder for web",
5
5
  "keywords": [
6
6
  "ray"
@@ -21,9 +21,9 @@
21
21
  "watch": "tsc -p ./tsconfig.build.json --watch"
22
22
  },
23
23
  "dependencies": {
24
- "@ray-js/babel-preset-standard": "^0.10.0",
25
- "@ray-js/shared": "^0.10.0",
26
- "@ray-js/types": "^0.10.0",
24
+ "@ray-js/babel-preset-standard": "^0.10.2",
25
+ "@ray-js/shared": "^0.10.2",
26
+ "@ray-js/types": "^0.10.2",
27
27
  "address": "^1.1.2",
28
28
  "autoprefixer": "9.x",
29
29
  "case-sensitive-paths-webpack-plugin": "^2.4.0",
@@ -58,6 +58,6 @@
58
58
  "email": "tuyafe@tuya.com"
59
59
  }
60
60
  ],
61
- "gitHead": "38d0bfba4c3216d59bfd0aa2dbce3f4337b22b2e",
61
+ "gitHead": "05f65fee00b3174d78bd9201df6eb8cedfcfe03f",
62
62
  "repository": {}
63
63
  }