autoprefixer-loader icon indicating copy to clipboard operation
autoprefixer-loader copied to clipboard

TypeError: undefined is not a function

Open luqin opened this issue 10 years ago • 2 comments

"autoprefixer-loader": "2.0.0"

TypeError: undefined is not a function
    at Object.<anonymous> (/node_modules/autoprefixer-loader/node_modules/autoprefixer-core/lib/autoprefixer.js:19:28)
    at Object.<anonymous> (/node_modules/autoprefixer-loader/node_modules/autoprefixer-core/lib/autoprefixer.js:88:4)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/node_modules/autoprefixer-loader/index.js:2:24)
    at Module._compile (module.js:460:26)

luqin avatar Jul 24 '15 07:07 luqin

@luqin try postcss-loader with autoprefixer plugin.

ai avatar Jul 24 '15 09:07 ai

@ai OK

luqin avatar Jul 27 '15 03:07 luqin