Webpack config inside WordPress

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

Thanks for making this video . I was looking for a decent video or blog for ages. You saved me so much time

maryamrika
Автор

Man, thank you so much! It's awesome!

georgestatefield
Автор

Where would you develop your front-end anyways? And the connect it?

aurelianspodarec
Автор

Hi Isaac! Thank you very much for the video! But I have one question: I need to use a jQuery gallery plugin in a specific page. How can I load this plugin in that specific context? Congratulations!

alanvasconcelos
Автор

can you do a tutorial how to add bundle-loader in a wordpress theme? im having a difficulty with the path directory with bundle-loader lazy since it is fetching js, css files relative to the url.. like website.com/about/main.js.. thanks in advance and sorry for the noob question

naldjb
Автор

are you building wordpress themes for a living? e.g. do you sell your themes on theme forest etc? because I created some wordpress themes for clients and think about turning them into full fledged selling themes, but not sure if it is worth it.

Jossnaz
Автор

The video tutorial is from over a year ago. Is browsersync still a "thing" ? Can I achieve the same without it when working with php?

walid
Автор

Thank you so much for this tutorial. I’ve FINALLY got Webpack to run with my Wordpress installation, which I've failed at three times previously.

Problem is, it opens “localhost:3000/mysite” rather than “localhost/mysite”, and so none of my images are being found, because home_url() is providing an incorrect path. Any ideas?

edwardwain
Автор

How can I add "Source Maps" to the external CSS?

suforososud
Автор

I was so glad when I saw your video, it was exactly what I was looking for but unfortunately I came across an issue I can't seem to solve. Can you please help?
I have issues making the webpack watch work with mamp and browser-sync. I didn't understand "new BrowserSyncPlugin({
How can I make it watch the wordpress served by mamp? thx

alinfaur
Автор

I have problem about when run npm run build
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- A relative path is expected. However the provided value "/js/[name].js" is an absolute path!
Please use output.path to specify absolute path and output.filename for the file name.

choppernguyen
Автор

only issue I had was with uglify-js on the package.json file. Replaced that line with a specific version like this:

"uglify-js": "git://github.com/mishoo/UglifyJS2.git#harmony-v2.8.22",

Short and simple, thanks dude!

RaymondLopezaleman
Автор

Can I use this solution on real server?

zvoagency
Автор

How would you put this into WordPress?

aurelianspodarec