Skip to content

Commit

Permalink
updated: use esm syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Dec 1, 2023
1 parent 03ab986 commit 1978af6
Show file tree
Hide file tree
Showing 7 changed files with 1,590 additions and 1,223 deletions.
6 changes: 1 addition & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
extends: eslint-config-riot

parserOptions:
ecmaVersion: 2018
sourceType: 'module'

globals:
chai: true
sinon: true
sinonChai: true
sinonChai: true
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jspm_packages

# mac useless file
.DS_Store
index.js
/index.js
/index.cjs
coverage
.idea
4 changes: 1 addition & 3 deletions karma.conf.js → karma.conf.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ module.exports = function(config) {
'test.js': ['rollup']
},
rollupPreprocessor: {
plugins: [require('rollup-plugin-node-resolve')({
jsnext: true
})],
plugins: [require('@rollup/plugin-node-resolve')()],
sourcemap: 'inline',
output: {
format: 'iife',
Expand Down
Loading

0 comments on commit 1978af6

Please sign in to comment.