Skip to content

Commit 649b09e

Browse files
committed
feat: Migrate module build to vite
* Webpack emitted invalid ES module code, as it still contained `require` calls which are undefined on ES modules * Build time is much shorter * Built assets are much smaller (530 kB vs 930 kB) * Remove unneeded import Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 9b347a7 commit 649b09e

File tree

9 files changed

+1201
-80
lines changed

9 files changed

+1201
-80
lines changed

.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@ module.exports = {
1414
plugins: [
1515
'cypress',
1616
],
17+
parserOptions: {
18+
babelOptions: {
19+
plugins: [
20+
'@babel/plugin-syntax-import-assertions',
21+
],
22+
},
23+
},
1724
}

0 commit comments

Comments
 (0)