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) (#10996) (#11006)

Fixes #10988

Co-authored-by: Artur <artur@vaadin.com>

Co-authored-by: caalador <mikael.grankvist@vaadin.com>
Co-authored-by: Artur <artur@vaadin.com>
  • Loading branch information
3 people committed May 17, 2021
1 parent cacdf21 commit fdcb31c
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ static Map<String, String> getDefaultDependencies() {
defaults.put("lit-element", "2.5.1");
defaults.put("lit-html", "1.4.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 All @@ -276,9 +280,6 @@ static Map<String, String> getDefaultDevDependencies() {
defaults.put("file-loader", "6.1.0");
defaults.put("extract-loader", "5.1.0");
defaults.put("lit-css-loader", "0.0.4");
// 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.6");

// 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 fdcb31c

Please sign in to comment.