26 Commits

Author SHA1 Message Date
Marton Lederer
55396422e8
Merge pull request #23 from Intrepidd/postcss-dependency
Take postcss dir-dependencies into account
2021-11-25 20:58:20 +01:00
Adrien Siami
0086e74251 Take postcss dir-dependencies into account 2021-10-11 11:09:10 +02:00
Guten Ye
0754513364 feat: add writeToFile option 2021-09-17 08:45:06 +08:00
Marton Lederer
b1e47de270
fix: return all files in a recursive way 2021-08-22 18:17:56 +02:00
Marton Lederer
c4546c67b1 Merge branch 'esbuild-1101-workaround' of https://github.com/timostamm/esbuild-plugin-postcss2-esbuild1101 into timostamm-esbuild-1101-workaround 2021-08-22 17:54:23 +02:00
Bognár László
5e3b8b69e7 watchFiles should look for changes in all files inside sourceDir 2021-08-19 11:55:14 +02:00
Timo Stamm
767df77220 Workaround for evanw/esbuild#1101
esbuild is unable to find the file, even though it does exist. This only happens for files in a directory with several other entries, so by creating a unique directory name per file on every build, we guarantee that there will only every be a single file present within the directory, circumventing the esbuild issue.
2021-08-11 15:40:12 +02:00
Braydon Hall
f50c6f3630 feat: add plugin options for sass, less, and stylus render options 2021-04-07 18:22:43 +10:00
g45t345rt
d798528ba6 Fix map not updating when using watch files 2021-03-31 14:48:29 -04:00
g45t345rt
81d1e9ea77 New watch css files with simple file edit test 2021-03-31 13:56:28 -04:00
g45t345rt
3e3159278d Fix entry-point with date time on filename 2021-03-24 12:44:26 -04:00
g45t345rt
6ab4b5fb2c fix resolve css from node_modules 2021-03-24 11:58:32 -04:00
g45t345rt
c6ad788020 tmp date fix (oops) 2021-03-23 19:43:05 -04:00
g45t345rt
2c24ff4fd5 remove console.log 2021-03-23 19:29:22 -04:00
g45t345rt
a842d7daa5 Fix to resolve entry points 2021-03-23 19:23:06 -04:00
g45t345rt
b94512524c fix windows escaping backslash 2021-03-23 10:42:02 -04:00
Marton Lederer
dae38a3c00
feat: more module files 2021-02-21 10:12:43 +01:00
Marton Lederer
957b8a0d17
feat: use pluginData.originalPath to help loading the CSS module 2021-02-20 16:13:14 +01:00
Marton Lederer
91dc049c0f
feat: update default class names 2021-02-20 15:45:42 +01:00
Marton Lederer
ff4d4a90b0
feat: use absolute path for resolving temporary css files 2021-02-20 15:31:10 +01:00
Marton Lederer
07ef3b6771
fix: only use css modules with \.module\.extension files 2021-02-20 14:07:27 +01:00
Marton Lederer
ff270af566
fix: css modules invalid class mapping 2021-02-20 13:48:19 +01:00
Marton Lederer
dc84df3388
feat: virtual css modules
TODO: fix naming error
2021-02-20 12:52:15 +01:00
Marton Lederer
6066b58c3d
feat: indicate original extension in tmp filename 2021-02-20 11:37:43 +01:00
Marton Lederer
1e7ec7d881
fix: use util textdecoder 2021-02-20 11:33:16 +01:00
Marton Lederer
8778057fd7
chore: basic plugin 2021-02-20 11:13:24 +01:00