Skip to content

Commit 34bbdac

Browse files
committed
fix: clean up prettier issues
1 parent 7e8a511 commit 34bbdac

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

packages/build-tools/create-webpack-config.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,15 +346,24 @@ async function createWebpackConfig(buildConfig) {
346346
},
347347
resolve: {
348348
mainFields: ['esnext', 'jsnext:main', 'browser', 'module', 'main'],
349-
extensions: ['.js', '.jsx', '.mjs', '.json', '.svg', '.scss', '.ts', '.tsx'],
349+
extensions: [
350+
'.js',
351+
'.jsx',
352+
'.mjs',
353+
'.json',
354+
'.svg',
355+
'.scss',
356+
'.ts',
357+
'.tsx',
358+
],
350359
alias: {
351360
react: 'preact-compat',
352361
'react-dom': 'preact-compat',
353362
},
354363
},
355364
module: {
356365
rules: [
357-
{
366+
{
358367
test: /\.(ts|tsx)$/,
359368
loader: 'ts-loader',
360369
options: {

0 commit comments

Comments
 (0)