@autobest-ui/scripts 3.0.2 → 3.0.3

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/bin/api.js CHANGED
File without changes
package/bin/spa.js CHANGED
File without changes
package/bin/ssr.js CHANGED
File without changes
@@ -53,6 +53,8 @@ function getStyleLoaders({ isProd, isServer, isHotServer, isSass, moduleOption =
53
53
  {
54
54
  loader: require.resolve('sass-loader'),
55
55
  options: {
56
+ // 必须开启,供 resolve-url-loader 解析相对路径
57
+ sourceMap: true,
56
58
  // 增加环境变量,供sass使用
57
59
  additionalData: `$env: ${isProd ? 'production' : 'development'};`
58
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobest-ui/scripts",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "private": false,
5
5
  "description": "utils for project tools",
6
6
  "bin": {