mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Adding Prettier
* Added prettier with automatic useage on pre-commit to avoid style breakage * Ran Prettier on the project
This commit is contained in:
parent
820c2df1f4
commit
b24cdcc9ed
136 changed files with 13929 additions and 12206 deletions
|
|
@ -7,14 +7,14 @@ export default {
|
|||
output: {
|
||||
file: 'build/daggerheart.js',
|
||||
format: 'cjs',
|
||||
sourcemap: true,
|
||||
sourcemap: true
|
||||
},
|
||||
plugins: [
|
||||
postcss({
|
||||
config: {
|
||||
path: './postcss.config.js'
|
||||
},
|
||||
use: {
|
||||
use: {
|
||||
less: { javascriptEnabled: true }
|
||||
},
|
||||
extensions: ['.less'],
|
||||
|
|
@ -22,8 +22,8 @@ export default {
|
|||
}),
|
||||
commonjs({
|
||||
include: /node_modules/,
|
||||
requireReturnsDefault: 'auto',
|
||||
requireReturnsDefault: 'auto'
|
||||
}),
|
||||
resolve()
|
||||
],
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue