-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c95a023
commit 92fb17c
Showing
4 changed files
with
21 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,5 @@ | ||
import createRollupConfig from '../../.rollup/index.mjs' | ||
|
||
export default createRollupConfig({ | ||
input: 'src/app-duration.ts', | ||
output: [ | ||
{ | ||
dir: `dist`, | ||
entryFileNames: '[name].js', | ||
format: 'cjs', | ||
preserveModules: true, | ||
generatedCode: { | ||
preset: 'es2015', | ||
} | ||
}, | ||
{ | ||
dir: `dist`, | ||
entryFileNames: '[name].mjs', | ||
format: 'esm', | ||
preserveModules: true, | ||
generatedCode: { | ||
preset: 'es2015', | ||
} | ||
} | ||
] | ||
input: 'src/app-duration.ts' | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,5 @@ | ||
import createRollupConfig from '../../.rollup/index.mjs' | ||
|
||
export default createRollupConfig({ | ||
input: 'src/onerror.ts', | ||
output: [ | ||
{ | ||
dir: `dist`, | ||
entryFileNames: '[name].js', | ||
format: 'cjs', | ||
preserveModules: true, | ||
generatedCode: { | ||
preset: 'es2015', | ||
} | ||
}, | ||
{ | ||
dir: `dist`, | ||
entryFileNames: '[name].mjs', | ||
format: 'esm', | ||
preserveModules: true, | ||
generatedCode: { | ||
preset: 'es2015', | ||
} | ||
} | ||
] | ||
input: 'src/onerror.ts' | ||
}) |
22 changes: 1 addition & 21 deletions
22
packages/plugin-window-unhandled-rejection/rollup.config.npm.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,5 @@ | ||
import createRollupConfig from '../../.rollup/index.mjs' | ||
|
||
export default createRollupConfig({ | ||
input: 'src/unhandled-rejection.ts', | ||
output: [ | ||
{ | ||
dir: `dist`, | ||
entryFileNames: '[name].js', | ||
format: 'cjs', | ||
preserveModules: true, | ||
generatedCode: { | ||
preset: 'es2015', | ||
} | ||
}, | ||
{ | ||
dir: `dist`, | ||
entryFileNames: '[name].mjs', | ||
format: 'esm', | ||
preserveModules: true, | ||
generatedCode: { | ||
preset: 'es2015', | ||
} | ||
} | ||
] | ||
input: 'src/unhandled-rejection.ts' | ||
}) |