swico 1.1.0-beta.5 → 1.1.0-beta.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swico",
3
- "version": "1.1.0-beta.5",
3
+ "version": "1.1.0-beta.6",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -73,8 +73,8 @@
73
73
  "postcss-loader": "8.1.0",
74
74
  "postcss-preset-env": "9.3.0",
75
75
  "prettier": "3.2.5",
76
- "sass": "^1.77.5",
77
- "sass-loader": "^14.2.1",
76
+ "sass": "1.77.5",
77
+ "sass-loader": "14.2.1",
78
78
  "style-loader": "3.3.0",
79
79
  "swc-loader": "0.2.6",
80
80
  "ts-node": "10.9.1",
@@ -64,10 +64,7 @@ var chalk_1 = __importDefault(require("chalk"));
64
64
  var currentPort, currentRouterBase = '/';
65
65
  var handleWatch = function (projectPath, devServer) {
66
66
  var configFilesWatcher = chokidar_1.default
67
- .watch([
68
- path_1.default.join(projectPath, '/config/*.ts'),
69
- path_1.default.join(projectPath, '/.eslintrc')
70
- ], {
67
+ .watch([path_1.default.join(projectPath, '/config/*.ts'), path_1.default.join(projectPath, '/.eslintrc')], {
71
68
  interval: 500,
72
69
  binaryInterval: 500,
73
70
  ignoreInitial: true
@@ -173,7 +170,6 @@ function start() {
173
170
  return __generator(this, function (_h) {
174
171
  switch (_h.label) {
175
172
  case 0:
176
- console.log('env', SWICO_RESTART, SWICO_PORT, SWICO_ROUTER_BASE);
177
173
  process.env.SWICO_ENV = 'dev';
178
174
  if (SWICO_RESTART !== 'true') {
179
175
  tools_1.toast.info("Swico v".concat(package_json_1.default.version));
@@ -225,7 +225,7 @@ function default_1(_a) {
225
225
  ]
226
226
  },
227
227
  {
228
- test: /\.less$/,
228
+ test: /\.scss$/,
229
229
  oneOf: [
230
230
  {
231
231
  resourceQuery: /module/,