Skip to content

Instantly share code, notes, and snippets.

View ierhyna's full-sized avatar

Irina Sokolovskaia ierhyna

  • Barcelona, Spain
  • 05:15 (UTC +02:00)
  • X @ierhyna
View GitHub Profile
@ierhyna
ierhyna / webpack.config.js
Created July 17, 2017 19:59
webpack.config.js
const path = require('path');
const merge = require('webpack-merge');
const webpack = require('webpack');
const BrowserSyncPlugin = require('browser-sync-webpack-plugin');
const TARGET = process.env.npm_lifecycle_event; // npm run start || npm run build
const common = {
entry: {
app: [