Skip to content

Commit

Permalink
improve testbed
Browse files Browse the repository at this point in the history
  • Loading branch information
shakiba committed Feb 2, 2019
1 parent 49015d1 commit 0a63c15
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions testbed/server.js
Expand Up @@ -8,28 +8,21 @@ const Handlebars = require('handlebars');

const compiler = Webpack([
{
entry: './lib/index.js',
output: {
library: 'planck',
filename: 'planck.js',
entry: {
'planck': './lib/index.js',
'planck-with-testbed': './testbed/index.js',
},
plugins: [
new Webpack.DefinePlugin({
DEBUG: JSON.stringify(false),
ASSERT: JSON.stringify(false),
}),
],
},
{
entry: './testbed/index.js',
output: {
library: 'planck',
filename: 'planck-with-testbed.js',
filename: '[name].js',
},
optimization: {
minimize: false
},
plugins: [
new Webpack.DefinePlugin({
DEBUG: JSON.stringify(false),
ASSERT: JSON.stringify(false),
ASSERT: JSON.stringify(true),
}),
],
}
Expand Down

0 comments on commit 0a63c15

Please sign in to comment.