fix: update package.json and config files to use ES module syntax
(cherry picked from commit 9aab0e74174405ddbfa3a375e5ff332870bbf977)
This commit is contained in:
parent
90990b62b6
commit
020e28ad5a
@ -2,6 +2,7 @@
|
||||
"name": "crm-ui",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build --base=/assets/crm/frontend/ && yarn copy-html-entry",
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
export default {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
module.exports = {
|
||||
presets: [require('frappe-ui/src/tailwind/preset')],
|
||||
import frappeUIPreset from 'frappe-ui/src/tailwind/preset'
|
||||
|
||||
export default {
|
||||
presets: [frappeUIPreset],
|
||||
content: [
|
||||
'./index.html',
|
||||
'./src/**/*.{vue,js,ts,jsx,tsx}',
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"workspaces": ["frontend", "frappe-ui"],
|
||||
"scripts": {
|
||||
"postinstall": "cd frontend && yarn install",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user