Skip to content

Commit

Permalink
fix(migrate-converged-pkg): Add missing isolatedModules to tsconfig (
Browse files Browse the repository at this point in the history
  • Loading branch information
ling1726 authored Sep 9, 2021
1 parent 2c980c6 commit 8ee2ef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/generators/migrate-converged-pkg/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ describe('migrate-converged-pkg generator', () => {
expect(tsConfig).toEqual({
compilerOptions: {
declaration: true,
isolatedModules: true,
experimentalDecorators: true,
importHelpers: true,
jsx: 'react',
Expand Down
1 change: 1 addition & 0 deletions tools/generators/migrate-converged-pkg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ const templates = {
include: ['src'],
compilerOptions: {
target: 'ES2019',
isolatedModules: true,
module: 'CommonJS',
lib: ['ES2019', 'dom'],
outDir: 'dist',
Expand Down

0 comments on commit 8ee2ef0

Please sign in to comment.