Skip to content

Commit

Permalink
chore: build web-embed by Webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
huhuanming committed Oct 16, 2023
1 parent dc671d7 commit fc87ed0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web-embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"main": "index.js",
"scripts": {
"start": "expo start",
"start": "webpack serve",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions apps/web-embed/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const webConfig = require('../../development/webpack/webpack.web-embed.config');

module.exports = webConfig({ basePath: __dirname });
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
},
"scripts": {
"app:web": "yarn workspace @onekeyhq/web start",
"app:web-embed": "yarn workspace @onekeyhq/web-embed start",
"app:ios": "yarn workspace @onekeyhq/mobile ios",
"app:ios:device": "yarn workspace @onekeyhq/mobile ios:device",
"app:android": "yarn workspace @onekeyhq/mobile android",
Expand Down

0 comments on commit fc87ed0

Please sign in to comment.