Skip to content

Commit

Permalink
fix: Change construct-style-sheets-polyfill to be a runtime dependency (
Browse files Browse the repository at this point in the history
#10991)

Fixes #10988
  • Loading branch information
Artur- committed May 17, 2021
1 parent 9b11380 commit 47aa845
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@ static Map<String, String> getDefaultDependencies() {

defaults.put("lit", "2.0.0-rc.1");

// Constructable style sheets is only implemented for chrome,
// polyfill needed for FireFox et.al. at the moment
defaults.put("construct-style-sheets-polyfill", "2.4.16");

return defaults;
}

Expand Down Expand Up @@ -392,9 +396,6 @@ static Map<String, String> getDefaultDevDependencies() {
defaults.put("webpack-manifest-plugin", "3.0.0");
defaults.put("@types/validator", "13.1.0");
defaults.put("validator", "13.1.17");
// Constructable style sheets is only implemented for chrome,
// polyfill needed for FireFox et.al. at the moment
defaults.put("construct-style-sheets-polyfill", "2.4.16");

// Forcing chokidar version for now until new babel version is available
// check out https://github.com/babel/babel/issues/11488
Expand Down

0 comments on commit 47aa845

Please sign in to comment.