Skip to content

Commit 43aa024

Browse files
committed
Add comments explaining publish vs not for babel/tsconfig
1 parent 7378a8a commit 43aa024

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

files/babel.config.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* This babel.config is not used for publishing.
3+
* It's only for the local editing experience
4+
* (and linting)
5+
*/
16
const { buildMacros } = require('@embroider/macros/babel');
27

38
const {

files/babel.publish.config.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* This babel.config is only used for publishing.
3+
*
4+
* For local dev experience, see the babel.config
5+
*/
16
module.exports = {
27
plugins: [<% if (typescript) { %>
38
[

files/tsconfig.publish.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* This tsconfig is only used for publishing.
3+
*
4+
* For local dev experience, see the tsconfig.json
5+
*/
16
{
27
"extends": "@ember/library-tsconfig",
38
"include": ["./src/**/*", "./unpublished-development-types/**/*"],

0 commit comments

Comments
 (0)