Newer
Older
import {Config} from '@stencil/core';
import {sass} from '@stencil/sass';
import {postcss} from '@stencil/postcss';
import autoprefixer from 'autoprefixer';
import postcssimport from 'postcss-import';
import {reactOutputTarget} from '@stencil/react-output-target';
export const config: Config = {
namespace: 'huds-lib',
globalStyle: 'src/global/styles.scss',
globalScript: 'src/global/globalScript.ts',
bundles: [{components: ['hy-site-header', 'hy-site-search', 'hy-site-logo']}],
injectGlobalPaths: ['src/global/styles.scss'],
}),
postcss({
plugins: [
postcssimport,
autoprefixer({
componentCorePackage: '@itcenteratunihelsinki/huds-lib',
proxiesFile: '../react-huds-wrapper/src/components.ts',