mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 06:00:53 +03:00
stubbed copy dialog
This commit is contained in:
@@ -7,6 +7,14 @@ class TailwindExtractor {
|
||||
const options = {
|
||||
plugins: [
|
||||
require('tailwindcss')('./tailwind.js'),
|
||||
require('postcss-preset-env')
|
||||
]
|
||||
};
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
options.map = { inline: true };
|
||||
} else {
|
||||
options.plugins.push(
|
||||
require('@fullhuman/postcss-purgecss')({
|
||||
content: ['./app/*.js', './app/ui/*.js'],
|
||||
extractors: [
|
||||
@@ -15,15 +23,13 @@ const options = {
|
||||
extensions: ['js']
|
||||
}
|
||||
]
|
||||
}),
|
||||
})
|
||||
);
|
||||
options.plugins.push(
|
||||
require('cssnano')({
|
||||
preset: 'default'
|
||||
})
|
||||
]
|
||||
};
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
options.map = { inline: true };
|
||||
);
|
||||
}
|
||||
|
||||
module.exports = options;
|
||||
|
||||
Reference in New Issue
Block a user