Skip to content

Commit

Permalink
ensure that static-app-tests run with all recommended optimized settings
Browse files Browse the repository at this point in the history
This includes the newly-added one in this PR.
  • Loading branch information
ef4 committed Jul 14, 2023
1 parent be3f553 commit dbb8e8d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions tests/scenarios/static-app-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,14 +356,11 @@ appScenarios
return app.toTree();
}
const { compatBuild, recommendedOptions } = require('@embroider/compat');
const Webpack = require('@embroider/webpack').Webpack;
return require('@embroider/compat').compatBuild(app, Webpack, {
workspaceDir: process.env.WORKSPACE_DIR,
staticAddonTestSupportTrees: true,
staticAddonTrees: true,
staticComponents: true,
staticHelpers: true,
staticModifiers: true,
return compatBuild(app, Webpack, {
...recommendedOptions.optimized,
packageRules: [
{
package: 'app-template',
Expand Down

0 comments on commit dbb8e8d

Please sign in to comment.