Skip to content

Instantly share code, notes, and snippets.

@lemonmade
Last active November 24, 2018 00:25
Show Gist options
  • Save lemonmade/709cffd42d360aea55e5890f885e978b to your computer and use it in GitHub Desktop.
Save lemonmade/709cffd42d360aea55e5890f885e978b to your computer and use it in GitHub Desktop.
export default app({
name: 'shopify-web',
kind: AppKind.Admin,
entries: [
browser({
polaris: true,
targets: [
BrowserTarget.Admin,
BrowserTarget.LatestEvergreen,
],
serviceWorker: true,
}),
browser({
name: 'error',
path: 'client/error',
scripts: false,
}),
browser({
name: 'redirectLoop',
path: 'client/redirect-loop',
scripts: false,
}),
server({}),
],
settings: [
cdn(cdnUrl),
devServer({ip, port}),
sass({
autoInclude: [],
}),
graphql({}),
],
customizeConfig: [
jest((config) => {
return config;
}),
webpack((config) => {
return config;
}),
],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment