Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakeii committed Jan 6, 2025
1 parent aa9afd6 commit 4be9256
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
13 changes: 3 additions & 10 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module.exports = {
presets: ['@babel/preset-env'],
plugins: [
'@babel/plugin-syntax-dynamic-import',
],
plugins: ['@babel/plugin-syntax-dynamic-import'],
compact: false,
env: {
production: {
Expand All @@ -14,9 +12,7 @@ module.exports = {
},
],
],
plugins: [
'@babel/plugin-transform-runtime',
],
plugins: ['@babel/plugin-transform-runtime'],
},
test: {
presets: [
Expand All @@ -29,10 +25,7 @@ module.exports = {
},
],
],
plugins: [
'@babel/plugin-transform-runtime',
'dynamic-import-node',
],
plugins: ['@babel/plugin-transform-runtime', 'dynamic-import-node'],
},
},
ignore: ['eslintrc.js'],
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const config = {
],
optimization: {
minimize: false, // we use swc-loader to minify
}
},
};

// eslint-disable-next-line import/no-default-export -- webpack config
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.riff-raff.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ export default merge(config, {
'process.env.RIFFRAFF_DEPLOY': JSON.stringify(true),
...gitCommitSHA(),
}),
new GenerateCloudformation()
new GenerateCloudformation(),
],
});

0 comments on commit 4be9256

Please sign in to comment.