File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1010 "sideEffects" : false ,
1111 "repository" : " https://github.com/cloudinary/frontend-frameworks" ,
1212 "scripts" : {
13- "build" : " tsc && npm run prepare-build && rollup -c" ,
14- "postbuild" : " cp index.esm.* ./dist && cp index.umd.* ./dist" ,
15- "prepare-build" : " cp package.json ./dist" ,
13+ "build" : " rollup -c" ,
14+ "typecheck" : " tsc --noEmit --skipLibCheck" ,
1615 "test" : " jest --config jest.config.json" ,
1716 "test-coverage" : " jest --coverage"
1817 },
Original file line number Diff line number Diff line change @@ -3,25 +3,23 @@ import resolve from "@rollup/plugin-node-resolve";
33import commonjs from "@rollup/plugin-commonjs" ;
44import typescript from "rollup-plugin-typescript2" ;
55
6- import packageJson from "./package.json" ;
7-
86export default {
97 input : "src/index.ts" ,
108 output : [
119 {
1210 format : "cjs" ,
13- file : packageJson . main ,
11+ file : "./dist/index.js" ,
1412 sourcemap : true
1513 } ,
1614 {
1715 format : 'umd' ,
18- file : packageJson . umd ,
16+ file : "./dist/index. umd.js" ,
1917 name : 'CloudinaryHtml' ,
2018 sourcemap : true ,
2119 } ,
2220 {
2321 format : "esm" ,
24- file : packageJson . module ,
22+ file : "./dist/index.esm.js" ,
2523 sourcemap : true
2624 }
2725 ] ,
You can’t perform that action at this time.
0 commit comments