Sha256: 2287c4a8d33b28202de5ef642dd115262ee14ab77ca03051ba4068d54f2d7c22

Contents?: true

Size: 811 Bytes

Versions: 1

Compression:

Stored size: 811 Bytes

Contents

var webpack = require("webpack");

module.exports = {
  entry: {
    'iframe-content-window': 'iframeContentWindow',
    glyptotheque: './source/glyptotheque/app.js',
    main: './source/assets/scripts/main.js',
    store: 'store',
  },
  output: {
    path: './source/glyptotheque/scripts',
    filename: '[name].bundle.js'
  },
  module: {
    loaders: [
      { include: /\.json$/, loaders: ['json-loader'] },
      { include: /store\.js$/, loader: 'expose?store' }
    ]
  },
  resolve: {
    alias: {
      'iframeContentWindow': './node_modules/iframe-resizer/js/iframeResizer.contentWindow.min.js'
    },
    modulesDirectories: [
      'node_modules',
      'node_modules/mojular/node_modules'
    ],
    extensions: ['', '.json', '.js']
  },
  plugins: [
    new webpack.optimize.DedupePlugin()
  ]
};

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-sculptor-0.24 lib/middleman-sculptor/template/webpack.config.js