@ray-js/builder-web 0.10.2 → 0.20.0-beta.0

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,7 +199,6 @@ 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 });
203
202
  if (watch) {
204
203
  const defaultHttpPort = parseInt(port);
205
204
  const httpPort = yield (0, detect_port_1.default)(defaultHttpPort);
@@ -233,6 +232,7 @@ function build(options, context) {
233
232
  };
234
233
  // todo web端的插件和ray-core 不一致
235
234
  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.2",
3
+ "version": "0.20.0-beta.0",
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.2",
25
- "@ray-js/shared": "^0.10.2",
26
- "@ray-js/types": "^0.10.2",
24
+ "@ray-js/babel-preset-standard": "^0.20.0-beta.0",
25
+ "@ray-js/shared": "^0.20.0-beta.0",
26
+ "@ray-js/types": "^0.20.0-beta.0",
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": "05f65fee00b3174d78bd9201df6eb8cedfcfe03f",
61
+ "gitHead": "5f36d50a16fb4a25a16b04d35b211af44b677dce",
62
62
  "repository": {}
63
63
  }