fix assets build
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
// This file is automatically compiled by Webpack, along with any other files
|
||||
// present in this directory. You're encouraged to place your actual application logic in
|
||||
// a relevant structure within app/javascript and only use these pack files to reference
|
||||
// that code so it'll be compiled.
|
||||
|
||||
// import Rails from "@rails/ujs"
|
||||
// import Turbolinks from "turbolinks"
|
||||
// import * as ActiveStorage from "@rails/activestorage"
|
||||
@@ -14,3 +9,4 @@
|
||||
|
||||
import "stylesheets/application";
|
||||
import "regenerator-runtime";
|
||||
import "src/index";
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
import "../src/index";
|
||||
@@ -1,7 +1,13 @@
|
||||
const defaultTheme = require("tailwindcss/defaultTheme");
|
||||
|
||||
module.exports = {
|
||||
purge: [],
|
||||
purge: [
|
||||
"./app/**/*.html.erb",
|
||||
"./app/helpers/**/*.rb",
|
||||
"./app/javascript/**/*.js",
|
||||
"./app/javascript/**/*.ts",
|
||||
"./app/javascript/**/*.tsx",
|
||||
],
|
||||
darkMode: false, // or 'media' or 'class'
|
||||
theme: {
|
||||
extend: {
|
||||
|
||||
Reference in New Issue
Block a user