Skip to content

Commit 6a4c55d

Browse files
committed
fix size-analysis and lint
1 parent c200872 commit 6a4c55d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

repo-scripts/size-analysis/bundle/webpack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
import webpack from 'webpack';
18+
import webpack, { OutputFileSystem } from 'webpack';
1919
// @ts-ignore
2020
import virtualModulesPlugin from 'webpack-virtual-modules';
2121
import { createFsFromVolume, IFs, Volume } from 'memfs';
@@ -61,7 +61,7 @@ export async function bundleWithWebpack(
6161
});
6262

6363
// use virtual file system for output to avoid I/O
64-
compiler.outputFileSystem = getMemoryFileSystem();
64+
compiler.outputFileSystem = getMemoryFileSystem() as OutputFileSystem;
6565

6666
return new Promise<string>((res, rej) => {
6767
compiler.run((err, stats) => {

repo-scripts/size-analysis/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"rollup-plugin-replace": "2.2.0",
2727
"rollup-plugin-typescript2": "0.31.2",
2828
"@rollup/plugin-virtual": "2.1.0",
29-
"webpack": "5.76.0",
29+
"webpack": "5.97.1",
3030
"@types/webpack": "5.28.5",
31-
"webpack-virtual-modules": "0.5.0",
31+
"webpack-virtual-modules": "0.6.2",
3232
"child-process-promise": "2.2.1",
3333
"memfs": "3.5.3",
3434
"tmp": "0.2.1",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19018,10 +19018,10 @@ [email protected]:
1901819018
through "^2.3.8"
1901919019
vinyl "^2.2.1"
1902019020

19021-
webpack-virtual-modules@0.5.0:
19022-
version "0.5.0"
19023-
resolved "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz"
19024-
integrity sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==
19021+
webpack-virtual-modules@0.6.2:
19022+
version "0.6.2"
19023+
resolved "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz#057faa9065c8acf48f24cb57ac0e77739ab9a7e8"
19024+
integrity sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==
1902519025

1902619026
1902719027
version "5.76.0"

0 commit comments

Comments
 (0)