Sha256: df0242634a0deaaedba4bc5da2d86278417c0a34c2ec7046fc618b77d70a119b

Contents?: true

Size: 336 Bytes

Versions: 3

Compression:

Stored size: 336 Bytes

Contents

/* eslint-env node */

import {Plugins, Env} from '@shopify/sewing-kit';

export default function sewingKitConfig(plugins: Plugins, env: Env) {
  return {
    name: '${application_name}',
    // remove cdn plugin when using dev
    plugins: [plugins.cdn(env.isDevelopment ? 'http://localhost:8080/webpack/assets/' : undefined)],
  };
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sewing_kit-0.127.0 lib/generators/sewing_kit/templates/sewing-kit.config.ts
sewing_kit-0.126.0 lib/generators/sewing_kit/templates/sewing-kit.config.ts
sewing_kit-0.125.0 lib/generators/sewing_kit/templates/sewing-kit.config.ts