Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Roe
d3fdbcaac6
fix(kit,vite,webpack): strip node_modules/ from parent urls 2024-09-21 23:12:38 +01:00
Daniel Roe
73accb5ac1
fix(kit,vite,webpack): resolve postcss paths from each modules dir (#29096) 2024-09-21 13:37:49 +01:00
Daniel Roe
79193561b9
refactor(kit,nuxt,vite,webpack)!: remove legacy require utils (#28008) 2024-07-03 21:12:33 +01:00
izzy goldman
373d015ae7
refactor(schema,vite,webpack): rework postcss module loading (#27946)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-07-02 19:28:48 +01:00
Daniel Roe
2de885bab5
fix(nuxt): reduce usage of cjs utilities (#27642) 2024-06-16 00:03:24 +01:00
Daniel Roe
ffdc358561
perf(vite): various performance improvements (#27601) 2024-06-13 23:35:00 +01:00
Anthony Fu
f209158352
chore: cleanup eslint rules with latest @nuxt/eslint-config (#26653) 2024-04-05 19:08:32 +01:00
Daniel Roe
ae82d70895
fix(vite): allow extending vue config per-environment (#19968) 2023-03-29 03:59:57 -07:00
Anthony Fu
d2094ea37a
refactor(vite): enable strict type checking (#6616) 2022-08-15 15:40:06 +02:00
Daniel Roe
70f067a14b
fix(vite): sort postcss plugins to add autoprefixer & cssnano last (#3827) 2022-03-22 11:40:36 +01:00
Daniel Roe
73ba30fb69
refactor(schema,webpack)!: split out webpack and postcss build options (#2812)
* refactor: split out webpack and postcss build options

* feat(schema): set nuxt3 builder in config

* fix(schema): default postcss config file to false

* chore: update lockfile

* style: remove unused imports

* refactor(webpack): remove (previously disabled) babel config

* refactor: move shared vite options into schema

* fix(schema): omit __NUXT_BASE__ from defaults

* fix: move appDir-dependent options back to vite

* refactor: split out virtual modules

* refactor: extract compile/createDevMiddleware

* refactor: further improvements

* chore: remove `@nuxt/webpack-builder` dependency

* chore: update lockfile

* refactor: move `builder` option to top level

* fix: bind close to watcher instance

* chore: update lockfile

* fix: create portal between postcss & build.postcss.postcssOptions

* fix: remove duplicate

* fix: revert

* fix: use `postcss` directly

* fix: import builder from rootDir

* chore: dedupe webpack install

* test: update fixture to use `builder`

* fix: bind class in pify

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-25 20:11:01 +01:00
pooya parsa
d68318f9d5
refactor: split schema to @nuxt/schema and simplify kit (#2059) 2021-11-21 17:14:46 +01:00
Anthony Fu
5b75e11e85
feat(vite): postcss support (#818)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-13 22:08:26 +02:00