Skip to content

Commit

Permalink
feat: produce esm build, switch to vite (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbllmnn authored Jun 18, 2024
1 parent 1c81ad3 commit d416111
Show file tree
Hide file tree
Showing 14 changed files with 5,242 additions and 5,097 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: '@terrestris/eslint-config-typescript'
};
3 changes: 0 additions & 3 deletions .eslintrc.js

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
/coverage

# production
/build
/browser
/dist

# misc
.DS_Store
Expand Down
12 changes: 12 additions & 0 deletions babel.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
presets: [
['@babel/env', {
useBuiltIns: 'usage'
}],
'@babel/preset-typescript'
],
plugins: [
'@babel/proposal-class-properties',
'@babel/proposal-object-rest-spread'
]
};
12 changes: 0 additions & 12 deletions babel.config.js

This file was deleted.

46 changes: 0 additions & 46 deletions browser-build.config.js

This file was deleted.

13 changes: 13 additions & 0 deletions jest.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
moduleFileExtensions: [
'ts',
'js'
],
transform: {
'^.+\\.ts$': '<rootDir>/node_modules/babel-jest'
},
testRegex: '/src/.*\\.spec.(ts|js)$',
collectCoverageFrom: [
'src/*.ts'
]
};
13 changes: 0 additions & 13 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit d416111

Please sign in to comment.