yakuza0 2.23.1-beta.7 → 2.23.2-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.
@@ -129,7 +129,7 @@ var babelConfFn = exports.babelConfFn = function babelConfFn(nuxtConf) {
129
129
 
130
130
  "plugins": [].concat((0, _toConsumableArray3.default)(nuxtConf.build.babel && nuxtConf.build.babel.plugins || []), (0, _toConsumableArray3.default)(sgpUIModule), (0, _toConsumableArray3.default)(antdModule), [["@babel/plugin-transform-runtime", {
131
131
  corejs: _config2.default.resolve.babelConf.corejs
132
- }], "transform-remove-strict-mode"])
132
+ }]])
133
133
  // plugins: [
134
134
  // '@babel/plugin-transform-parameters',
135
135
  // ["@babel/plugin-proposal-object-rest-spread", { "loose": true, "useBuiltIns": true }],
@@ -108,7 +108,13 @@ exports.default = function (config) {
108
108
  loaders: (0, _extends3.default)({}, config.build && config.build.loaders, {
109
109
  less: (0, _extends3.default)({
110
110
  javascriptEnabled: true
111
- }, config.build && config.build.loaders && config.build.loaders.less)
111
+ }, config.build && config.build.loaders && config.build.loaders.less),
112
+ scss: (0, _extends3.default)({
113
+ sassOptions: (0, _extends3.default)({
114
+ // quietDeps: true,
115
+ // quiet: true,
116
+ quietDeps: true }, config.build && config.build.loaders && config.build.loaders.scss && config.build.loaders.scss.sassOptions)
117
+ }, config.build && config.build.loaders && config.build.loaders.scss)
112
118
  }),
113
119
  plugins: [new _replace.ReplaceInFileWebpackPlugin([].concat((0, _toConsumableArray3.default)(replaceRules), (0, _toConsumableArray3.default)(nuxtConf.build && nuxtConf.build.replace && nuxtConf.build.replace.rules || [])))]
114
120
  });
@@ -124,7 +124,7 @@ exports.replaceMultipleStringsPlugin = function (_ref) {
124
124
 
125
125
  if (typeof searchValue === 'string' && typeof replaceValue === 'string') {
126
126
  if (path.node.value.includes(searchValue)) {
127
- console.log(searchValue, 222);
127
+ // console.log(searchValue, 222);
128
128
  path.node.value = path.node.value.replace(new RegExp(searchValue, 'g'), replaceValue);
129
129
  }
130
130
  }
@@ -143,7 +143,7 @@ exports.replaceMultipleStringsPlugin = function (_ref) {
143
143
 
144
144
  if (typeof searchValue === 'string' && typeof replaceValue === 'string') {
145
145
  if (element.value.raw.includes(searchValue)) {
146
- console.log(searchValue, 1111111111);
146
+ // console.log(searchValue, 1111111111);
147
147
  element.value.raw = element.value.raw.replace(new RegExp(searchValue, 'g'), replaceValue);
148
148
  element.value.cooked = element.value.cooked.replace(new RegExp(searchValue, 'g'), replaceValue);
149
149
  }
package/nuxt/index.js CHANGED
@@ -109,7 +109,7 @@ var config = exports.config = function config(_config) {
109
109
  // };
110
110
 
111
111
  // config.devtool = false;
112
- // console.log(config.build.transpile, 123);
112
+ // console.log(config.build.loaders.scss, 123);
113
113
  return _config;
114
114
  };
115
115
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yakuza0",
3
- "version": "2.23.1-beta.7",
3
+ "version": "2.23.2-beta.0",
4
4
  "description": "yakuza0 with nuxt",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -92,7 +92,7 @@
92
92
  "replace-in-file-webpack-plugin": "^1.0.6",
93
93
  "require-from-string": "^2.0.2",
94
94
  "rimraf": "^2.6.3",
95
- "sass": "^1.43.4",
95
+ "sass": "1.43.4",
96
96
  "sass-loader": "^10",
97
97
  "semver": "^6.3.0",
98
98
  "socket.io-client": "^2.2.0",