add js preprocessing to webpack bundling