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

fix: execute bundle-config-loader only for the entry point of the application #829

Merged
merged 3 commits into from
Mar 19, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/webpack.angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ module.exports = env => {
module: {
rules: [
{
test: new RegExp(entryPath),
test: new RegExp(join(appFullPath, entryPath)),
use: [
// Require all Android app components
platform === "android" && {
Expand Down
2 changes: 1 addition & 1 deletion templates/webpack.javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports = env => {
module: {
rules: [
{
test: new RegExp(entryPath),
test: new RegExp(join(appFullPath, entryPath)),
use: [
// Require all Android app components
platform === "android" && {
Expand Down
2 changes: 1 addition & 1 deletion templates/webpack.typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ module.exports = env => {
module: {
rules: [
{
test: new RegExp(entryPath),
test: new RegExp(join(appFullPath, entryPath)),
use: [
// Require all Android app components
platform === "android" && {
Expand Down
2 changes: 1 addition & 1 deletion templates/webpack.vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ module.exports = env => {
},
module: {
rules: [{
test: new RegExp(entryPath + ".(js|ts)"),
test: new RegExp(join(appFullPath, entryPath + ".(js|ts)")),
use: [
// Require all Android app components
platform === "android" && {
Expand Down