<commit_before>const webpack = require('webpack');
const path = require('path');
const WriteFilePlugin = require('write-file-webpack-plugin');
const autoprefixer = require('autoprefixer');
const CopyWebpackPlugin = require('copy-webpack-plugin');

module.exports = {
  devtool: 'eval',

  output: {
    path: path.resolve(__dirname, '../dist'),
    publicPath: "/opsone/opsone-2017/wp-content/themes/opsone-2017-theme/dist/"
  },

  devServer: {
    hot: true,
    port: 3000,
    inline: true,
    host: 'localhost',
    historyApiFallback: true,
    headers: { 'Access-Control-Allow-Origin': '*' },
    compress: true,
    watchOptions: {
      ignored: /node_modules/
    }
  },<commit_msg>Fix public path FOR OPSONE<commit_after>const webpack = require('webpack');
const path = require('path');
const WriteFilePlugin = require('write-file-webpack-plugin');
const autoprefixer = require('autoprefixer');
const CopyWebpackPlugin = require('copy-webpack-plugin');

const baseRootPath = path.resolve(__dirname, '../../../../../../');
const publicPath = path.resolve(__dirname, '../dist').replace(baseRootPath, '') + '/';

module.exports = {
  devtool: 'eval',

  output: {
    path: path.resolve(__dirname, '../dist'),
    publicPath: publicPath
  },

  devServer: {
    hot: true,
    port: 3000,
    inline: true,
    host: 'localhost',
    historyApiFallback: true,
    headers: { 'Access-Control-Allow-Origin': '*' },
    compress: true,
    watchOptions: {
      ignored: /node_modules/
    }
  },
{'fraction_non_alphanumeric': 0.170439414114514, 'fraction_numerical': 0.010652463382157125, 'mean_word_length': 3.624615384615385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6514385', 'n_tokens_mistral': 483, 'n_tokens_neox': 468, 'n_words': 95}