Skip to content

Commit

Permalink
fix webpack build
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemyslaw Jan Pietrzak committed Apr 17, 2018
1 parent 6b26737 commit 62dbaa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
<button id="confirm">confirm</button>
<button id="play-pause">play-pause</button>

<script src="/dist/dist/bundle.js"></script>
<script src="./bundle.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
app: './src/main.ts'
},
output: {
filename: './dist/bundle.js'
filename: './bundle.js'
},
resolve: {
extensions: ['.ts', '.js']
Expand Down Expand Up @@ -41,7 +41,7 @@ module.exports = {
devtool: !isProduction ? 'source-map' : 'none',
plugins: [
new webpack.ProvidePlugin({
THREE: 'three', // TODO
THREE: 'three',
})
].concat(isProduction ? [] : [
new HtmlWebpackPlugin({
Expand Down

0 comments on commit 62dbaa7

Please sign in to comment.