Skip to content

Commit

Permalink
add sideEffects to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Jun 30, 2024
1 parent 3b21d53 commit 9e0ecad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"test": "gro test",
"deploy": "gro deploy"
},
"files": [
"dist"
],
"devDependencies": {
"@ryanatkn/belt": "^0.23.0",
"@ryanatkn/eslint-config": "^0.1.3",
Expand Down Expand Up @@ -61,5 +58,11 @@
}
}
]
}
},
"sideEffects": [
"**/*.css"
],
"files": [
"dist"
]
}
3 changes: 2 additions & 1 deletion src/routes/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export const package_json = {
test: 'gro test',
deploy: 'gro deploy',
},
files: ['dist'],
devDependencies: {
'@ryanatkn/belt': '^0.23.0',
'@ryanatkn/eslint-config': '^0.1.3',
Expand Down Expand Up @@ -52,6 +51,8 @@ export const package_json = {
bracketSpacing: false,
overrides: [{files: 'package.json', options: {useTabs: false}}],
},
sideEffects: ['**/*.css'],
files: ['dist'],
} satisfies Package_Json;

export const src_json = {name: '@ryanatkn/fuz_template', version: '0.0.1'} satisfies Src_Json;
Expand Down

0 comments on commit 9e0ecad

Please sign in to comment.