-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
I have a base
, dev
and dist
webpack config. dev
and dist
extend base
with some custom setup for developing locally vs. deploying to our server. When I run dist
it bundles all my code into a folder with the following structure:
dist/
assets/
app.js
vendors.js
index.html
favicon.ico
the scripts in index.html
get the following structure:
<script type="text/javascript" src="/assets/vendors.js?4aaf64703d2dfe86cedc"></script>
<script type="text/javascript" src="/assets/app.js?4aaf64703d2dfe86cedc"></script>
... which is fine when I am developing locally, as the project exists at the "root" of my local server, however the project lives in a deeply nested sub directory on my server -- /assets/
maps to the root /assets/
directory, when I really need it to be more like assets/vendors.js
or even ./assets/vendors.js
Is there a way I can specify this for this plugin? I believe it would require overriding publicPath
. Not sure if that's doable/possible.
cvsguimaraes, busybeaver, ankurp, costis and ashkanhosseini
Metadata
Metadata
Assignees
Labels
No labels