Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ npm-debug.log
yarn.lock
/test-app/package-lock.json
/test-app/.dojorc
.vscode/
3 changes: 2 additions & 1 deletion src/base.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ export default function webpackConfigFactory(args: any): webpack.Configuration {
staticOnly.push('build-elide');
entry = {
[bootstrapEntry]: removeEmpty([
existsSync(mainCssPath) ? mainCssPath : null,
'@dojo/framework/shim/Promise',
'@dojo/webpack-contrib/bootstrap-plugin/async'
])
Expand Down Expand Up @@ -498,6 +497,7 @@ export default function webpackConfigFactory(args: any): webpack.Configuration {
args.locale && new CldrPlugin(),
new webpack.DefinePlugin({
__MAIN_ENTRY: JSON.stringify(mainEntryPath),
__MAIN_CSS_PATH: JSON.stringify(existsSync(mainCssPath) ? mainCssPath : null),
__DOJO_SCOPE: `'${libraryName}'`
}),
!isExperimentalSpeed &&
Expand All @@ -515,6 +515,7 @@ export default function webpackConfigFactory(args: any): webpack.Configuration {
!singleBundle &&
new BootstrapPlugin({
entryPath: mainEntryPath,
cssPath: existsSync(mainCssPath) ? mainCssPath : null,
shimModules: [
{
module: '@dojo/framework/shim/IntersectionObserver',
Expand Down