Skip to content

Commit

Permalink
Fix webpack demo
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Aug 7, 2023
1 parent 8cef167 commit 7adf500
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions example/webpack/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ COPY ./example/webpack ./example/webpack

WORKDIR example/webpack
RUN npm install
# FIXME
# RUN npm test
RUN npm test

EXPOSE 9091
CMD npm start
4 changes: 1 addition & 3 deletions example/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"test": "tsc"
},
"dependencies": {
"graphql": "16.5.0",
"graphql-voyager": "../../graphql-voyager.tgz",
"react": "18.2.0"
"graphql-voyager": "../../graphql-voyager.tgz"
},
"devDependencies": {
"@types/react": "^18.0.29",
Expand Down
2 changes: 1 addition & 1 deletion example/webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
liveReload: true,
},
resolve: {
extensions: ['.ts', '.tsx', '.js'],
extensions: ['.mjs', '.ts', '.tsx', '.js'],
},
entry: ['./index.tsx'],
output: {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7adf500

Please sign in to comment.