From 3a89a75e7d914fca985edc39f07e0a4f6df887d3 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Sat, 10 Jun 2017 21:59:33 -0700 Subject: [PATCH] consistent quote type --- ui/webpack.config.js | 28 ++++++++++++++-------------- ui/webpack.dev.config.js | 30 +++++++++++++++--------------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/ui/webpack.config.js b/ui/webpack.config.js index b9267fd29..b0ab6f08a 100644 --- a/ui/webpack.config.js +++ b/ui/webpack.config.js @@ -1,23 +1,23 @@ -const path = require('path'); -const webpack = require('webpack') -const appPath = path.resolve(__dirname, 'js'); +const path = require("path"); +const webpack = require("webpack") +const appPath = path.resolve(__dirname, "js"); const PATHS = { - app: path.join(__dirname, 'app'), - dist: path.join(__dirname, 'dist') + app: path.join(__dirname, "app"), + dist: path.join(__dirname, "dist") }; module.exports = { - entry: ['babel-polyfill', './js/main.js'], + entry: ["babel-polyfill", "./js/main.js"], output: { - path: path.join(PATHS.dist, 'js'), - publicPath: '/js/', + path: path.join(PATHS.dist, "js"), + publicPath: "/js/", filename: "bundle.js" }, - devtool: 'source-map', + devtool: "source-map", resolve: { modules: [appPath, "node_modules"], - extensions: ['.js', '.jsx', '.css'] + extensions: [".js", ".jsx", ".css"] }, plugins: [ new webpack.DefinePlugin({ @@ -29,7 +29,7 @@ module.exports = { { test: /\.jsx?$/, enforce: "pre", - loaders: ['eslint'], + loaders: ["eslint"], // define an include so we check just the files we need include: PATHS.app }, @@ -41,14 +41,14 @@ module.exports = { test: /\.jsx?$/, exclude: /node_modules/, use: { - loader: 'babel-loader', + loader: "babel-loader", options: { cacheDirectory: true, - presets: [ 'es2015', 'react', 'stage-2' ] + presets: [ "es2015", "react", "stage-2" ] } } } ] }, - target: 'electron-main', + target: "electron-main", }; diff --git a/ui/webpack.dev.config.js b/ui/webpack.dev.config.js index d5332f332..42107a3c5 100644 --- a/ui/webpack.dev.config.js +++ b/ui/webpack.dev.config.js @@ -1,27 +1,27 @@ -const path = require('path'); -const webpack = require('webpack') -const WebpackNotifierPlugin = require('webpack-notifier') +const path = require("path"); +const webpack = require("webpack") +const WebpackNotifierPlugin = require("webpack-notifier") -const appPath = path.resolve(__dirname, 'js'); +const appPath = path.resolve(__dirname, "js"); const PATHS = { - app: path.join(__dirname, 'app'), - dist: path.join(__dirname, '..', 'app', 'dist') + app: path.join(__dirname, "app"), + dist: path.join(__dirname, "..", "app", "dist") }; module.exports = { - entry: ['babel-polyfill', './js/main.js'], + entry: ["babel-polyfill", "./js/main.js"], output: { - path: path.join(PATHS.dist, 'js'), - publicPath: '/js/', + path: path.join(PATHS.dist, "js"), + publicPath: "/js/", filename: "bundle.js", pathinfo: true }, cache: true, - devtool: 'eval', + devtool: "eval", resolve: { modules: [appPath, "node_modules"], - extensions: ['.js', '.jsx', '.css'] + extensions: [".js", ".jsx", ".css"] }, plugins: [ new WebpackNotifierPlugin(), @@ -37,7 +37,7 @@ module.exports = { { test: /\.jsx?$/, enforce: "pre", - loaders: ['eslint'], + loaders: ["eslint"], // define an include so we check just the files we need include: PATHS.app }, @@ -49,14 +49,14 @@ module.exports = { test: /\.jsx?$/, exclude: /node_modules/, use: { - loader: 'babel-loader', + loader: "babel-loader", options: { cacheDirectory: true, - presets: [ 'es2015', 'react', 'stage-2' ] + presets: [ "es2015", "react", "stage-2" ] } } } ] }, - target: 'electron-main', + target: "electron-main", };