File tree Expand file tree Collapse file tree 4 files changed +4
-16
lines changed Expand file tree Collapse file tree 4 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,4 @@ yarn.lock
6
6
.gitignore
7
7
Dockerfile
8
8
* .svg
9
- .npmrc
10
- .yalc
11
- yalc.lock
9
+ .npmrc
Original file line number Diff line number Diff line change @@ -43,6 +43,3 @@ bundle-stats.html
43
43
cypress /screenshots
44
44
45
45
.env
46
-
47
- .yalc
48
- yalc.lock
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " cap-react" ,
3
- "version" : " 0.3 .0" ,
3
+ "version" : " 1.0 .0" ,
4
4
"description" : " CERN Analysis Preservation UI" ,
5
5
"type" : " module" ,
6
6
"engines" : {
70
70
"redux-logger" : " 3.0.6" ,
71
71
"redux-thunk" : " 2.3.0" ,
72
72
"sanitize-html" : " 2.4.0" ,
73
- "squirrelly" : " 8.0.8" ,
74
73
"vite" : " ^5.0.2"
75
74
},
76
75
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default defineConfig(({ mode }) => {
20
20
} ) ,
21
21
// Restarts the dev server (full reload aka --force) when a new version of react-formule is available
22
22
ViteRestart ( {
23
- restart : [ ".yalc /react-formule/dist/react-formule.js" ] ,
23
+ restart : [ "../../.. /react-formule/dist/react-formule.js" ] ,
24
24
} ) ,
25
25
] ,
26
26
server : {
@@ -37,13 +37,6 @@ export default defineConfig(({ mode }) => {
37
37
} ,
38
38
} ,
39
39
} ,
40
- // ESModules only allow "import" imports. However some libraries (i.e. squirrelly)
41
- // still use "require" imports. This converts CommonJS modules to ESModules
42
- build : {
43
- commonjsOptions : {
44
- transformMixedEsModules : true ,
45
- } ,
46
- } ,
47
40
// Allows writing JSX in .js files
48
41
esbuild : {
49
42
loader : "jsx" ,
@@ -65,6 +58,7 @@ export default defineConfig(({ mode }) => {
65
58
} ,
66
59
] ,
67
60
} ,
61
+ include : [ "react-formule" ] ,
68
62
} ,
69
63
// TEMPORARY: allows using process.env (ideally we should use import.meta.env I think)
70
64
define : {
You can’t perform that action at this time.
0 commit comments