@dcloudio/vue-cli-plugin-hbuilderx 2.0.0-alpha-32620210831003 → 2.0.0-alpha-32720210917003

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.
@@ -11,7 +11,7 @@ const {
11
11
  nvueHtmlPreprocessOptions,
12
12
  getTemplatePath
13
13
  } = require('@dcloudio/uni-cli-shared')
14
-
14
+ const fileLoader = require('@dcloudio/uni-cli-shared/lib/file-loader')
15
15
  const WebpackAppPlusNVuePlugin = process.env.UNI_USING_V3
16
16
  ? require('../packages/webpack-app-plus-plugin')
17
17
  : require('../packages/webpack-app-plus-nvue-plugin')
@@ -109,13 +109,7 @@ if (process.env.NODE_ENV === 'development') {
109
109
 
110
110
  const rules = [{
111
111
  test: /\.(png|jpg|gif|ttf|eot|woff|woff2)$/i,
112
- use: [{
113
- loader: 'file-loader',
114
- options: {
115
- publicPath: 'assets',
116
- outputPath: 'assets'
117
- }
118
- }]
112
+ use: [fileLoader]
119
113
  }, {
120
114
  test: path.resolve(process.env.UNI_INPUT_DIR, 'pages.json'),
121
115
  use: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/vue-cli-plugin-hbuilderx",
3
- "version": "2.0.0-alpha-32620210831003",
3
+ "version": "2.0.0-alpha-32720210917003",
4
4
  "description": "HBuilderX plugin for vue-cli 3",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -18,5 +18,5 @@
18
18
  "css": "~2.2.1",
19
19
  "escodegen": "^1.8.1"
20
20
  },
21
- "gitHead": "a7be67640e4fab27839a671c2dcaa15080036ccc"
21
+ "gitHead": "b4127054025a3ff27307bdf8f475c40b80c41765"
22
22
  }