Skip to content

Instantly share code, notes, and snippets.

@Mobiletainment
Created May 30, 2020 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mobiletainment/b2b77ceb490c330266fa64b2d70df9c1 to your computer and use it in GitHub Desktop.
Save Mobiletainment/b2b77ceb490c330266fa64b2d70df9c1 to your computer and use it in GitHub Desktop.
Stencil component library with React bindings
import { Config } from '@stencil/core';
import { reactOutputTarget } from '@stencil/react-output-target';
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',
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment