Postcss TypeError: require non è una funzione

Esempi di codice

0
0

postcss TypeError: require non è una funzione

/* 
    This type of setup worked for me, require calls modified
	to suit my setup.
	You will have to enter the postcss-* pkgs listed in your
	package.json
*/

module.exports = (ctx) => {
  return {
    map: ctx.env === 'development' ? 'inline' : false,
    plugins: [
        require('postcss-csso')()
    ]
  } 
}

Pagine correlate

Pagine di esempio simili

In altre lingue

Questa pagina è in altre lingue

Русский
..................................................................................................................
English
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................