Skip to content

Commit 073f6f5

Browse files
committed
ope
1 parent a2e3565 commit 073f6f5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

files/_js_babel.config.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
import { createRequire } from 'module';
21
import { fileURLToPath } from 'url';
32

43
import {
54
babelCompatSupport,
65
templateCompatSupport,
76
} from '@embroider/compat/babel';
87

9-
const require = createRequire(import.meta.url);
10-
118
export default {
129
plugins: [
1310
[
@@ -26,7 +23,7 @@ export default {
2623
'module:decorator-transforms',
2724
{
2825
runtime: {
29-
import: require.resolve('decorator-transforms/runtime-esm'),
26+
import: 'decorator-transforms/runtime-esm',
3027
},
3128
},
3229
],

0 commit comments

Comments
 (0)