fix: update package.json and config files to use ES module syntax

(cherry picked from commit 9aab0e74174405ddbfa3a375e5ff332870bbf977)
This commit is contained in:
Shariq Ansari 2025-05-19 15:55:07 +05:30 committed by Mergify
parent 90990b62b6
commit 020e28ad5a
4 changed files with 7 additions and 3 deletions

View File

@ -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",

View File

@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},

View File

@ -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}',

View File

@ -1,5 +1,6 @@
{
"private": true,
"type": "module",
"workspaces": ["frontend", "frappe-ui"],
"scripts": {
"postinstall": "cd frontend && yarn install",