Skip to content

Commit c982c04

Browse files
committed
fix absolute path
1 parent 34c1eb7 commit c982c04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webpack-config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
var Clean = require('clean-webpack-plugin');
2+
const path = require('path');
23
// var ExtractTextPlugin = require('extract-text-webpack-plugin');
34
var HtmlWebpackPlugin = require('html-webpack-plugin');
45
const TerserPlugin = require('terser-webpack-plugin');
@@ -30,7 +31,8 @@ module.exports = {
3031
},
3132
output: {
3233
// path: './dist',
33-
path: '/home/shlomif/Download/unpack/games/freecell/webpack-jquery-ui/dist/',
34+
path: path.resolve(__dirname, 'dist'),
35+
// path: '/home/shlomif/Download/unpack/games/freecell/webpack-jquery-ui/dist/',
3436
filename: 'tot.js'
3537
},
3638
/*

0 commit comments

Comments
 (0)