Replace Sass with PostCSS, include imports and nesting
This commit is contained in:
parent
347bbe20ba
commit
9633b980d5
36 changed files with 279 additions and 184 deletions
|
@ -4,7 +4,7 @@ require('laravel-mix-purgecss');
|
|||
require('laravel-mix-tailwind');
|
||||
|
||||
mix.disableNotifications()
|
||||
.sass('assets/sass/app.sass', 'source/dist/css')
|
||||
.postCss('assets/css/app.css', 'source/dist/css')
|
||||
.js([
|
||||
// 'node_modules/highlightjs/highlight.pack.js',
|
||||
'node_modules/jquery/dist/jquery.js',
|
||||
|
@ -19,4 +19,11 @@ mix.disableNotifications()
|
|||
],
|
||||
whitelistPatterns: [/language/, /hljs/],
|
||||
whitelistPatternsChildren: [/^markdown$/]
|
||||
})
|
||||
.options({
|
||||
postCss: [
|
||||
require('postcss-import')(),
|
||||
require('postcss-nesting')(),
|
||||
],
|
||||
processCssUrls: false,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue