Ver código fonte

fix: remove fibers dependency

NGPixel 3 anos atrás
pai
commit
757398c249
4 arquivos alterados com 17 adições e 13 exclusões
  1. 8 2
      dev/webpack/webpack.dev.js
  2. 8 2
      dev/webpack/webpack.prod.js
  3. 0 1
      package.json
  4. 1 8
      yarn.lock

+ 8 - 2
dev/webpack/webpack.dev.js

@@ -84,7 +84,10 @@ module.exports = {
             loader: 'sass-loader',
             options: {
               implementation: require('sass'),
-              sourceMap: false
+              sourceMap: false,
+              sassOptions: {
+                fiber: false
+              }
             }
           }
         ]
@@ -105,7 +108,10 @@ module.exports = {
             loader: 'sass-loader',
             options: {
               implementation: require('sass'),
-              sourceMap: false
+              sourceMap: false,
+              sassOptions: {
+                fiber: false
+              }
             }
           },
           {

+ 8 - 2
dev/webpack/webpack.prod.js

@@ -89,7 +89,10 @@ module.exports = {
             loader: 'sass-loader',
             options: {
               implementation: require('sass'),
-              sourceMap: false
+              sourceMap: false,
+              sassOptions: {
+                fiber: false
+              }
             }
           }
         ]
@@ -111,7 +114,10 @@ module.exports = {
             loader: 'sass-loader',
             options: {
               implementation: require('sass'),
-              sourceMap: false
+              sourceMap: false,
+              sassOptions: {
+                fiber: false
+              }
             }
           },
           {

+ 0 - 1
package.json

@@ -247,7 +247,6 @@
     "eslint-plugin-promise": "4.2.1",
     "eslint-plugin-standard": "4.0.2",
     "eslint-plugin-vue": "7.1.0",
-    "fibers": "5.0.0",
     "file-loader": "6.1.1",
     "filepond": "4.21.1",
     "filepond-plugin-file-validate-type": "1.2.5",

+ 1 - 8
yarn.lock

@@ -8178,7 +8178,7 @@ detect-file@^1.0.0:
   resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7"
   integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=
 
-detect-libc@^1.0.2, detect-libc@^1.0.3:
+detect-libc@^1.0.2:
   version "1.0.3"
   resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
   integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
@@ -9411,13 +9411,6 @@ fecha@^4.2.0:
   resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.0.tgz#3ffb6395453e3f3efff850404f0a59b6747f5f41"
   integrity sha512-aN3pcx/DSmtyoovUudctc8+6Hl4T+hI9GBBHLjA76jdZl7+b1sgh5g4k+u/GL3dTy1/pnYzKp69FpJ0OicE3Wg==
 
-fibers@5.0.0:
-  version "5.0.0"
-  resolved "https://registry.yarnpkg.com/fibers/-/fibers-5.0.0.tgz#3a60e0695b3ee5f6db94e62726716fa7a59acc41"
-  integrity sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==
-  dependencies:
-    detect-libc "^1.0.3"
-
 figgy-pudding@^3.5.1:
   version "3.5.1"
   resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790"