Skip to content

Commit

Permalink
Update examples (#259)
Browse files Browse the repository at this point in the history
* Updated TypeScript example

* Updated offline example

* Updated multiple statically example

* Updated include npm example

* Update babel example

* Updated dynamic example

* Updated babel multi static example
  • Loading branch information
HyperBrain authored Oct 31, 2017
1 parent dbceb1b commit be20b6d
Show file tree
Hide file tree
Showing 22 changed files with 8,987 additions and 8,360 deletions.
17 changes: 11 additions & 6 deletions examples/babel-dynamically-entries/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ module.exports = {
entry: slsw.lib.entries,
target: 'node',
module: {
loaders: [{
test: /\.js$/,
loaders: ['babel-loader'],
include: __dirname,
exclude: /node_modules/,
}]
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: [
{
loader: 'babel-loader'
}
],
}
]
},
output: {
libraryTarget: 'commonjs',
Expand Down
Loading

0 comments on commit be20b6d

Please sign in to comment.