Get started with webpack by following this tutorial.
tutorial link
If you encounter an error like "Unexpected token import ", do this way:
In your app/index.js file:
replace
import _ from 'lodash';
with
var _ = require('lodash');
Get started with webpack by following this tutorial.
tutorial link
If you encounter an error like "Unexpected token import ", do this way:
In your app/index.js file:
replace
import _ from 'lodash';
with
var _ = require('lodash');