-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updating dependencies and adding debug * Minifying code * Updating example * Cleaning up spelling * Minfying and adding documentation * fixing export.default bug Co-authored-by: Sean Thomas Burke <[email protected]>
- Loading branch information
1 parent
3b3d480
commit 33ba57d
Showing
16 changed files
with
3,235 additions
and
1,707 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
module.exports = (api) => { | ||
api.cache(true); | ||
|
||
const presets = ['@babel/preset-env']; | ||
const plugins = [[ 'add-module-exports', { 'addDefaultProperty': true }]]; | ||
const presets = [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
"targets": { | ||
"esmodules": true | ||
} | ||
} | ||
], | ||
'minify', // minify the Babel code | ||
]; | ||
const plugins = [ | ||
[ | ||
'add-module-exports', | ||
{ 'addDefaultProperty': true }, | ||
] | ||
]; | ||
|
||
return { | ||
presets, | ||
plugins, | ||
comments: false, // Remove comments during minification | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"version": "0.1", | ||
"language": "en", | ||
"dictionaries": [ | ||
"bash", | ||
"entities", | ||
"filetypes", | ||
"fullstack", | ||
"html", | ||
"html-symbol-entities", | ||
"misc", | ||
"node", | ||
"softwareTerms" | ||
], | ||
"words": [ | ||
"sitemapper", | ||
"esmodules" | ||
], | ||
"allowCompoundWords": true, | ||
"flagWords": [], | ||
"ignoreWords": [], | ||
"ignorePaths": [ | ||
"node_modules/" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.