Skip to content

Instantly share code, notes, and snippets.

@all4miller
Created August 27, 2021 20:26
Show Gist options
  • Save all4miller/3b1244446993cf098d8a4414adbdbee8 to your computer and use it in GitHub Desktop.
Save all4miller/3b1244446993cf098d8a4414adbdbee8 to your computer and use it in GitHub Desktop.
"browserify": {
"transform": [
[
"coffeeify",
{
"extension": ".js.coffee"
}
],
[
"babelify",
{
"global": true,
"presets": [
[
"@babel/preset-env",
{
"modules": "commonjs"
}
],
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-transform-modules-commonjs",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-transform-destructuring",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-template-literals",
"@babel/plugin-transform-runtime",
"@babel/plugin-transform-classes"
]
}
],
"aliasify"
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment