Skip to content

Commit

Permalink
Merge hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakarFin committed Dec 13, 2024
2 parents 6ab5939 + ced6021 commit 7e7cacd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"core-js": "3.38.1",
"css-loader": "5.2.7",
"d3": "7.8.4",
"dompurify": "2.5.4",
"dompurify": "2.5.8",
"eslint": "8.57.0",
"eslint-config-standard": "17.1.0",
"eslint-import-resolver-webpack": "0.13.9",
Expand Down
10 changes: 5 additions & 5 deletions webpack/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ const BABEL_LOADER_RULE = {
const getModuleRules = (isProd = false, antThemeFile) => {
const styleFileRules = getStyleFileRules(isProd, antThemeFile);
const rules = [
/*
webpack-import-meta-loader fixes this error for building Cesium:
ERROR in ../oskari-frontend/node_modules/@cesium/engine/Source/Core/buildModuleUrl.js 42:43
Module parse failed: Unexpected token (42:43)
*/
/*
webpack-import-meta-loader fixes this error for building Cesium:
ERROR in ../oskari-frontend/node_modules/@cesium/engine/Source/Core/buildModuleUrl.js 42:43
Module parse failed: Unexpected token (42:43)
*/
{
test: /\.js$/,
loader: require.resolve('@open-wc/webpack-import-meta-loader')
Expand Down

0 comments on commit 7e7cacd

Please sign in to comment.