mirror of
https://github.com/primer/css.git
synced 2025-01-07 06:51:03 +03:00
303cacae77
* Set package as being a ES module package * Set `engines` key to node versions that support ES modules * Rename postcss config to a CommonJS extension * Use import and export statements * Import the default globby export * Set stylelint config files as CommonJS files * Convert prettier config to a CommonJS module * Set a root ESLint config folder * silence non-error output for dist * export esm for stats modules * Convert bundle size report * Create strong-lemons-ring.md Co-authored-by: Jon Rohan <yes@jonrohan.codes>
17 lines
318 B
JavaScript
17 lines
318 B
JavaScript
const path = require('path')
|
|
|
|
module.exports = {
|
|
parser: 'postcss-scss',
|
|
map: {
|
|
sourcesContent: true,
|
|
annotation: true
|
|
},
|
|
plugins: [
|
|
require('postcss-node-sass')({
|
|
includePaths: [path.join(__dirname, 'node_modules')],
|
|
outputStyle: 'compressed'
|
|
}),
|
|
require('autoprefixer')
|
|
]
|
|
}
|