Created
May 31, 2020 07:42
-
-
Save Mobiletainment/8f1245c40a936548fb2a46b144fabe65 to your computer and use it in GitHub Desktop.
Stencil component library with React bindings in a Nx monorepo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Config } from '@stencil/core'; | |
import { reactOutputTarget } from '@stencil/react-output-target'; | |
import { sass } from '@stencil/sass'; | |
export const config: Config = { | |
namespace: 'ui-components', | |
taskQueue: 'async', | |
outputTargets: [ | |
reactOutputTarget({ | |
componentCorePackage: 'ui-components', | |
proxiesFile: '../../generated/ui-components-react/src/components.ts' | |
}), | |
{ | |
type: 'dist', | |
esmLoaderPath: './loader' | |
}, | |
{ | |
type: 'docs-readme', | |
}, | |
{ | |
type: 'www', | |
serviceWorker: null, // disable service workers | |
}, | |
], | |
plugins: [sass()], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment