Skip to content

Commit 055e3ee

Browse files
committed
Move CSS files to root for easier imports
1 parent 7c88a6c commit 055e3ee

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed
File renamed without changes.

preflight.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@tailwind preflight;

src/build.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import CleanCSS from 'clean-css'
55

66
function buildDistFile(filename) {
77
return new Promise((resolve, reject) => {
8-
console.log(`Processing ./css/${filename}.css...`)
8+
console.log(`Processing ./${filename}.css...`)
99

10-
fs.readFile(`./css/${filename}.css`, (err, css) => {
10+
fs.readFile(`./${filename}.css`, (err, css) => {
1111
if (err) throw err
1212

1313
return postcss([tailwind(), require('autoprefixer')])
1414
.process(css, {
15-
from: `./css/${filename}.css`,
15+
from: `./${filename}.css`,
1616
to: `./dist/${filename}.css`,
1717
map: { inline: false },
1818
})
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)