Skip to content

Commit

Permalink
Fix css path
Browse files Browse the repository at this point in the history
  • Loading branch information
tohosaku committed Mar 14, 2020
1 parent 783a5bb commit f9a9814
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion build/CssToJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const css2json = require('css2json')
class CssToJson {
constructor (params) {
this.pattern = params.pattern
this.jsonPattern = params.jsonPattern
}

apply (compiler) {
Expand Down
3 changes: 1 addition & 2 deletions config/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ module.exports = {
)
),
new CssToJSON({
pattern: './src/**/*.css',
jsonPattern: './src/themes/*.json'
pattern: './src/**/*.css'
})
]
}
3 changes: 1 addition & 2 deletions config/webpack.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ module.exports = {
},
plugins: [
new CssToJSON({
pattern: './src/themes/*.css',
jsonPattern: './src/themes/*.json'
pattern: './src/**/*.css'
})
]
}

0 comments on commit f9a9814

Please sign in to comment.