Skip to content

Commit

Permalink
correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rrigato committed Sep 17, 2023
1 parent 8a482ca commit 620c12a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/homepage_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- run: cd static

- run: npm run test

- run: npm run build
Expand Down
7 changes: 7 additions & 0 deletions static/webpack.local.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ const baseConfig = require('./webpack.config.js');

module.exports = merge(
baseConfig,

{
devServer: {
static: {
directory: path.join(__dirname, 'dist'),
},
open: true
},
mode: 'development'
}
);

0 comments on commit 620c12a

Please sign in to comment.