Skip to content

Commit

Permalink
Merge branch 'v2' into symbols-codesplit-split-core
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Sep 7, 2022
2 parents c1e5ce0 + 65500fb commit c2eb487
Show file tree
Hide file tree
Showing 37 changed files with 605 additions and 249 deletions.
109 changes: 55 additions & 54 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -54,6 +54,7 @@
"mocha-junit-reporter": "^2.0.0",
"mocha-multi-reporters": "^1.5.1",
"prettier": "2.4.1",
"punycode": "^1.4.1",
"rimraf": "^3.0.2",
"semver": "^5.7.1",
"sinon": "^7.3.1"
Expand Down
3 changes: 3 additions & 0 deletions packages/core/core/src/InternalConfig.js
Expand Up @@ -25,6 +25,7 @@ type ConfigOpts = {|
invalidateOnOptionChange?: Set<string>,
devDeps?: Array<InternalDevDepOptions>,
invalidateOnStartup?: boolean,
invalidateOnBuild?: boolean,
|};

export function createConfig({
Expand All @@ -39,6 +40,7 @@ export function createConfig({
invalidateOnOptionChange,
devDeps,
invalidateOnStartup,
invalidateOnBuild,
}: ConfigOpts): Config {
let environment = env ?? createEnvironment();
return {
Expand All @@ -59,5 +61,6 @@ export function createConfig({
invalidateOnOptionChange: invalidateOnOptionChange ?? new Set(),
devDeps: devDeps ?? [],
invalidateOnStartup: invalidateOnStartup ?? false,
invalidateOnBuild: invalidateOnBuild ?? false,
};
}

0 comments on commit c2eb487

Please sign in to comment.