Laravel Mix
Laravel Mix provides a fluent API for defining Webpack build steps for your Laravel application using several common CSS and JavaScript pre-processors.
If you are using Laravel Mix for your Webpack configuration management, you should be able to customize your Webpack config and add our plugin via the webpackConfig method.
1
const PacktrackerPlugin = require('@packtracker/webpack-plugin')
2
3
mix.webpackConfig({
4
plugins: [
5
new PacktrackerPlugin({
6
project_token: '<your packtracker project token>',
7
upload: true
8
})
9
]
10
})
Copied!
This is the only specific difference in setting up a project with us using Laravel Mix, please see the rest of our documentation below for more detail.
Last modified 2yr ago
Copy link