Newer
Older
make_invoice / webpack.config.js
const path = require('path')

module.exports = {
    mode: 'development',
    entry: path.resolve(__dirname, "app/src/components/main.js"),
    output: {
        path: path.resolve(__dirname, "public/js"),
        filename: 'index.js'
    },
    module: {
        rules: [
            {
                test: /\.txt$/i,
                use: 'raw-loader',
            },
        ],
    }
}