mirror of
https://github.com/frappe/books.git
synced 2025-01-12 19:06:38 +00:00
fix: Add postcss and tailwind
This commit is contained in:
parent
b0e572b16c
commit
e0c6a1a411
@ -64,7 +64,11 @@
|
||||
"vue-template-compiler": "^2.6.10",
|
||||
"webpack": "^4.16.1",
|
||||
"webpack-dev-server": "^3.1.4",
|
||||
"webpack-hot-middleware": "^2.22.3"
|
||||
"webpack-hot-middleware": "^2.22.3",
|
||||
"csvjson-csv2json": "5.0.6",
|
||||
"postcss-loader": "3.0.0",
|
||||
"tailwindcss": "1.1.1",
|
||||
"autoprefixer": "9.6.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -59,7 +59,16 @@ function makeConfig() {
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
use: ['vue-style-loader', 'css-loader']
|
||||
use: ['vue-style-loader', 'css-loader', {
|
||||
loader: 'postcss-loader',
|
||||
options: {
|
||||
ident: 'postcss',
|
||||
plugins: [
|
||||
require('tailwindcss'),
|
||||
require('autoprefixer'),
|
||||
],
|
||||
},
|
||||
}]
|
||||
},
|
||||
{
|
||||
test: /\.scss$/,
|
||||
|
Loading…
Reference in New Issue
Block a user