Skip to content

Commit 3955f44

Browse files
committed
Try to init the wasm
1 parent 4edb69c commit 3955f44

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

apps/repl/ember-cli-build.js

+8
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ module.exports = async function (defaults) {
115115
// Causes app to not boot
116116
// chunkFormat: 'module',
117117
// },
118+
module: {
119+
rules: [
120+
{
121+
test: /\.wasm$/,
122+
type: "asset",
123+
},
124+
]
125+
},
118126
resolve: {
119127
alias: {
120128
path: 'path-browserify',

packages/ember-repl/addon/src/browser/gjs.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ import type { Babel } from './types';
1010

1111
const compiler = importSync('ember-source/dist/ember-template-compiler.js');
1212

13-
import { Preprocessor } from 'content-tag';
13+
import init, { Preprocessor } from 'content-tag';
14+
15+
16+
await init();
1417

1518
const processor = new Preprocessor();
1619

0 commit comments

Comments
 (0)