Skip to content

Commit

Permalink
Fix CDN workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospassos committed May 27, 2021
1 parent 2c552aa commit a138cef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 23 deletions.
17 changes: 0 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"jest": "^26.6.3",
"rollup": "^2.48.0",
"rollup-plugin-terser": "^7.0.2",
"temp-dir": "^2.0.0",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
},
Expand Down
8 changes: 3 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import typescript from 'rollup-plugin-typescript2';
import tempDir from 'temp-dir';
import typescript from '@rollup/plugin-typescript';
import {terser} from 'rollup-plugin-terser';
import commonjs from '@rollup/plugin-commonjs';

Expand Down Expand Up @@ -33,10 +32,9 @@ export default args => {
plugins: [
resolve(),
commonjs(),
typescript({
cacheRoot: `${tempDir}/.rpt2_cache`,
}),
typescript({module: 'esnext'}),
replace({
preventAssignment: true,
delimiters: ['<@', '@>'],
cdnUrl: args['config-cdn-url'],
playgroundOrigin: args['config-playground-origin'],
Expand Down

0 comments on commit a138cef

Please sign in to comment.