Skip to content

Commit

Permalink
Merge branch 'next' into document-addon-kit-bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
jonniebigodes authored Nov 9, 2023
2 parents 7229e7e + 4ace97f commit 7bf9819
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ export default async (
shouldCheckTs ? new ForkTsCheckerWebpackPlugin(tsCheckOptions) : null,
].filter(Boolean),
module: {
// Disable warning for dynamic requires
unknownContextCritical: false,
rules: [
{
test: /\.stories\.([tj])sx?$|(stories|story)\.mdx$/,
Expand Down
3 changes: 3 additions & 0 deletions code/frameworks/angular/src/server/angular-cli-webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ exports.getWebpackConfig = async (baseConfig, { builderOptions, builderContext }

// Options provided by user
...builderOptions,
styles: builderOptions.styles
?.map((style) => (typeof style === 'string' ? style : style.input))
.filter((style) => typeof style === 'string' || style.inject !== false),

// Fixed options
optimization: false,
Expand Down

0 comments on commit 7bf9819

Please sign in to comment.