Sha256: aea66d988ec61c2bc73cd24b5d6ec9d1663dd42afdb0d65629c6952f48c5b82f

Contents?: true

Size: 805 Bytes

Versions: 3

Compression:

Stored size: 805 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/assets/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

3 entries across 3 versions & 1 rubygems

Version Path
middleman-sculptor-0.25.2 lib/middleman-sculptor/template/webpack.config.js
middleman-sculptor-0.25.1 lib/middleman-sculptor/template/webpack.config.js
middleman-sculptor-0.25 lib/middleman-sculptor/template/webpack.config.js