Skip to content

Commit

Permalink
Merge branch 'main' into fix/sw-context-dynamic-import
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodin authored Nov 27, 2024
2 parents 4703f56 + db17fa5 commit 9a6c78c
Show file tree
Hide file tree
Showing 36 changed files with 2,021 additions and 340 deletions.
9 changes: 7 additions & 2 deletions karma.config.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/unambiguous */
const { parseArgs } = require('node:util');
const { basename } = require('node:path');
const { readFileSync } = require('node:fs');
Expand All @@ -13,11 +14,11 @@ const postcss = require('postcss');
const cssnanoPlugin = require('cssnano');
const { karmaMochaConfig } = require('./.mocharc.cjs');
const reactPlugin = require('@vitejs/plugin-react');
const { pathToFileURL, fileURLToPath} = require("node:url");
const { pathToFileURL, fileURLToPath } = require('node:url');

// The current package, one of the packages in the `packages` dir
const cwd = pathToFileURL(`${process.cwd()}/`);
const root = pathToFileURL(`${__dirname}/`)
const root = pathToFileURL(`${__dirname}/`);

function loadMockConfig() {
try {
Expand Down Expand Up @@ -168,6 +169,10 @@ module.exports = (config) => {
useDefineForClassFields: false,
},
},
supported: {
decorators: false,
'top-level-await': true,
},
},
plugins: [
loadRegisterJs(),
Expand Down
Loading

0 comments on commit 9a6c78c

Please sign in to comment.