Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 21787f2

Browse files
author
vakrilov
committed
refactor: don't include native app/activity in bundle
1 parent 6a9a074 commit 21787f2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

demo/JavaScriptApp/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ module.exports = env => {
173173
unitTesting,
174174
appFullPath,
175175
projectRoot,
176+
registerModules: /(?<!App_Resources.*)(?<!\.\/application)(?<!\.\/activity)\.(xml|css|js|(?<!d\.)ts|scss)$/
176177
}
177178
},
178179
].filter(loader => !!loader)

demo/TypeScriptApp/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ module.exports = env => {
179179
unitTesting,
180180
appFullPath,
181181
projectRoot,
182+
registerModules: /(?<!App_Resources.*)(?<!\.\/application)(?<!\.\/activity)\.(xml|css|js|(?<!d\.)ts|scss)$/
182183
}
183184
},
184185
].filter(loader => !!loader)

0 commit comments

Comments
 (0)