Skip to content

Commit de359fa

Browse files
Merge pull request #101 from bertdeblock/use-cjs-ext-for-build-file
Use `cjs` extension for `ember-cli-build` file
2 parents 244ba25 + 54c24fd commit de359fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

files/.try.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// When building your addon for older Ember versions you need to have the required files
22
const compatFiles = {
3-
'ember-cli-build.js': `const EmberApp = require('ember-cli/lib/broccoli/ember-app');
3+
'ember-cli-build.cjs': `const EmberApp = require('ember-cli/lib/broccoli/ember-app');
44
const { compatBuild } = require('@embroider/compat');
55
module.exports = async function (defaults) {
66
const { buildOnce } = await import('@embroider/vite');

files/gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ declarations/
66
# from scenarios
77
tmp/
88
config/optional-features.json
9-
ember-cli-build.js
9+
ember-cli-build.cjs
1010

1111
# npm/pnpm/yarn pack output
1212
*.tgz

0 commit comments

Comments
 (0)