Skip to content

Commit

Permalink
fix: add array-flat polyfill for node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
KnisterPeter authored and herschel666 committed Jan 13, 2020
1 parent e710da7 commit 34d7d9d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/postcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"dependencies": {
"css-loader": "^3.2.0",
"core-js": "^3.6.2",
"enhanced-resolve": "^4.1.1",
"hops-mixin": "^12.0.0-rc.0",
"mini-css-extract-plugin": "^0.9.0",
Expand Down
1 change: 1 addition & 0 deletions packages/postcss/patch-postcss-modules-extract-imports.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('core-js/features/array/flat');
const { dirname } = require('path');
const { create } = require('enhanced-resolve');
const postcssModulesExtractImports = require('postcss-modules-extract-imports');
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4651,6 +4651,11 @@ core-js@^3.0.1, core-js@^3.2.1:
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.3.tgz#cebda69dd069bf90066414d2b2425ffd1f3dcd79"
integrity sha512-DOO9b18YHR+Wk5kJ/c5YFbXuUETreD4TrvXb6edzqZE3aAEd0eJIAWghZ9HttMuiON8SVCnU3fqA4rPxRDD1HQ==

core-js@^3.6.2:
version "3.6.2"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.6.2.tgz#2799ea1a59050f0acf50dfe89b916d6503b16caa"
integrity sha512-hIE5dXkRzRvnZ5vhkRfQxUvDxQZmD9oueA08jDYRBKJHx+VIl/Pne/e0A4x9LObEEthC/TqiZybUoNM4tRgnKg==

core-util-is@1.0.2, core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
Expand Down

0 comments on commit 34d7d9d

Please sign in to comment.