Skip to content

Commit

Permalink
fix(build): Remove public path definition (#52)
Browse files Browse the repository at this point in the history
fix(build): Remove public path definition (#52)
  • Loading branch information
matibenav authored Aug 25, 2020
1 parent 272a847 commit 2dee41d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/webpack/resolvePlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import CopyWebpackPlugin from 'copy-webpack-plugin';
import {
ASSETS_PATH,
OUTPUT_PATH,
OUTPUT_PUBLIC_PATH,
} from '../common/paths';

export default (isDevelopment: boolean, isLibrary: boolean, version: string): webpack.Plugin[] => {
Expand All @@ -19,6 +18,7 @@ export default (isDevelopment: boolean, isLibrary: boolean, version: string): we
from: ASSETS_PATH,
to: OUTPUT_PATH,
ignore: ['index.ejs'],
context: ASSETS_PATH,
}]);
const htmlWebpackPlugin = new HtmlWebpackPlugin({
cache: true,
Expand All @@ -27,7 +27,6 @@ export default (isDevelopment: boolean, isLibrary: boolean, version: string): we
filename: path.resolve(OUTPUT_PATH, 'index.html'),
// Arbitrary options that are sent to the template file
isDevelopment,
publicPath: OUTPUT_PUBLIC_PATH,
version,
});
const watchIgnorePlugin = new webpack.WatchIgnorePlugin([/scss\.d\.ts$/]);
Expand Down

0 comments on commit 2dee41d

Please sign in to comment.