Skip to content

Commit

Permalink
rename files to mjs for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
jul-sh committed Nov 30, 2019
1 parent f5d9c60 commit bd2d52b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion AxeObserver.js → AxeObserver.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import axeCore from 'axe-core'
import AuditQueue from './AuditQueue.js'
import AuditQueue from './AuditQueue.mjs'

// The AxeObserver class takes a violationsCallback, which is invoked with an
// array of observed violations.
Expand Down
5 changes: 0 additions & 5 deletions index.js

This file was deleted.

5 changes: 5 additions & 0 deletions index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import _AxeObserver from './AxeObserver.mjs'
import _logViolations from './logViolations.mjs'

export const AxeObserver = _AxeObserver
export const logViolations = _logViolations
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"module": "dist/index.mjs",
"unpkg": "dist/standalone.mjs",
"source": "index.js",
"source": "index.mjs",
"scripts": {
"build": "npm run build:dependencies && npm run build:standalone",
"build:dependencies": "npx microbundle -f es,cjs",
Expand Down

0 comments on commit bd2d52b

Please sign in to comment.