Add Sass processor
This commit is contained in:
parent
c34a57fe69
commit
f83e11bfb7
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
module.exports = function (eleventyConfig) {
|
module.exports = function (eleventyConfig) {
|
||||||
|
eleventyConfig.addPlugin(require('eleventy-sass'), {
|
||||||
|
postcss: require('postcss')([
|
||||||
|
require('postcss-preset-env'),
|
||||||
|
require('cssnano'),
|
||||||
|
]),
|
||||||
|
})
|
||||||
|
|
||||||
return {dir: {input: 'src', output: 'dist'}}
|
return {dir: {input: 'src', output: 'dist'}}
|
||||||
}
|
}
|
||||||
|
|
4
.idea/watcherTasks.xml
Normal file
4
.idea/watcherTasks.xml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectTasksOptions" suppressed-tasks="SCSS" />
|
||||||
|
</project>
|
Loading…
Reference in a new issue