Skip to content

Commit

Permalink
Update build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
keremc committed Nov 1, 2021
1 parent aea7f7a commit 020afb2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
8 changes: 8 additions & 0 deletions dist/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(rule
(alias gobview)
(targets main.js)
(deps ../src/App.bc.js ../npm.log ../webpack.config.js)
(action
(chdir
..
(run npx webpack build))))
7 changes: 7 additions & 0 deletions dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(rule
(targets npm.log)
(deps package-lock.json)
(action
(with-outputs-to
npm.log
(run npm ci))))
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
mode: process.env.NODE_ENV ? process.env.NODE_ENV : 'development',
entry: './_build/default/src/App.bc.js',
entry: './src/App.bc.js',
module: {
rules: [
{
Expand Down

0 comments on commit 020afb2

Please sign in to comment.