packaging: updated JS dependencies with new node2nix and nodejs12
This commit is contained in:
parent
e47479eb95
commit
847c8b496f
4 changed files with 259 additions and 200 deletions
|
|
@ -20,7 +20,7 @@ let babelRCOptions = {
|
|||
}]
|
||||
],
|
||||
"plugins": ["transform-object-rest-spread"]
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
// Tell Webpack which file kicks off our app.
|
||||
|
|
@ -33,6 +33,7 @@ module.exports = {
|
|||
},
|
||||
// Tell Webpack which directories to look in to resolve import statements.
|
||||
// Normally Webpack will look in node_modules by default but since we’re overriding
|
||||
// the property we’ll need to tell it to look there.
|
||||
resolve: {
|
||||
modules: [
|
||||
path.resolve(__dirname, 'node_modules'),
|
||||
|
|
@ -55,8 +56,7 @@ module.exports = {
|
|||
// polymer-webpack-loader, and hand the output to
|
||||
// babel-loader. This let's us transpile JS in our `<script>` elements.
|
||||
use: [
|
||||
{loader: 'babel-loader',
|
||||
options: babelRCOptions},
|
||||
{loader: 'babel-loader', options: babelRCOptions},
|
||||
{loader: 'polymer-webpack-loader',
|
||||
options: {
|
||||
processStyleLinks: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue