Open NullVoxPopuli opened 9 months ago
this is resolved if statkcEmberSource
is turned off
So this is a problem only under Embroider? I didn't see such an issue in my case using ember-cli
.
yeah, older ember-cli
ships everything in node_modules, and there is no staticEmberSource
option :sweat_smile:
Looks like this happens for tests, too:
Uncaught TypeError: ember__WEBPACK_IMPORTED_MODULE_6__.default.Test is undefined
setupTestAdapter index.js:123
start index.js:203
js test-helper.js:13
Webpack 7
[index.js:123:36](webpack://docs-app/src/index.js)
Uncaught Error: The tests file was not loaded. Make sure your tests index.html includes "assets/tests.js".
🐞 Describe the Bug
A clear and concise description of what the bug is.
😕 Actual Behavior
error
🤔 Expected Behavior
template-compiler loads at runitme.
(I know this'll be fixed by the new runtime compiler, but that isn't available yet, so folks needing to use runtime compilation must stay on, at newest, ember-source 5.5)
🌍 Environment
➕ Additional Context
Loaded via: ember-cli-build.js (with embroider / webpack)