Closed stmoreau closed 3 years ago
this worked for me
import { Config } from '@stencil/core';
import { less } from '@stencil/less';
import { postcss } from '@stencil/postcss';
import autoprefixer from 'autoprefixer';
export const config: Config = {
namespace: 'IgComponents',
outputTargets:[
{ type: 'dist' },
{ type: 'docs' },
{
type: 'www',
serviceWorker: null // disable service workers
}
],
plugins: [
less({
injectGlobalPaths: [
'src/globals/variables.less',
'src/globals/mixins.less'
]
}),
postcss({
plugins: [autoprefixer({
browsers: ['last 3 versions', '> 1%', 'iOS >=7']
})]
})
]
};
Fixed in #20
PR for #11