Where in the vue code base is it creating the vue.esm.browser.js file?












0















I am looking at vue and trying to figure out how they build the vue.esm.browser.js file. Everything else seems to be in ./script/config.js but I can't find anything in there about esm in the browser. Is it using a dependency or something to generate the file?



I also noticed that it isn't listed in the output files when rollup runs.



So my question is, where in the Vue code base is it creating the esm.browser file?










share|improve this question























  • Well that explains a bit it looks like if I blow away the dist file and rebuild it isn't there so how do I generate it after the fact?

    – Jackie
    Dec 31 '18 at 3:56











  • Looking at package.json it seems like it's created using the dev:esm script.

    – chipit24
    Dec 31 '18 at 18:31











  • Nope that is absolutely not it that creates vue.runtime.esm.js not vue.esm.browser.js... rollup -w -c scripts/config.js --environment TARGET:web-runtime-esm

    – Jackie
    Dec 31 '18 at 23:26













  • The two files are github.com/vuejs/vue/blob/dev/dist/vue.runtime.esm.js and github.com/vuejs/vue/blob/dev/dist/vue.esm.browser.js Notice that the runtime one still contains refs to process.env

    – Jackie
    Dec 31 '18 at 23:28


















0















I am looking at vue and trying to figure out how they build the vue.esm.browser.js file. Everything else seems to be in ./script/config.js but I can't find anything in there about esm in the browser. Is it using a dependency or something to generate the file?



I also noticed that it isn't listed in the output files when rollup runs.



So my question is, where in the Vue code base is it creating the esm.browser file?










share|improve this question























  • Well that explains a bit it looks like if I blow away the dist file and rebuild it isn't there so how do I generate it after the fact?

    – Jackie
    Dec 31 '18 at 3:56











  • Looking at package.json it seems like it's created using the dev:esm script.

    – chipit24
    Dec 31 '18 at 18:31











  • Nope that is absolutely not it that creates vue.runtime.esm.js not vue.esm.browser.js... rollup -w -c scripts/config.js --environment TARGET:web-runtime-esm

    – Jackie
    Dec 31 '18 at 23:26













  • The two files are github.com/vuejs/vue/blob/dev/dist/vue.runtime.esm.js and github.com/vuejs/vue/blob/dev/dist/vue.esm.browser.js Notice that the runtime one still contains refs to process.env

    – Jackie
    Dec 31 '18 at 23:28
















0












0








0








I am looking at vue and trying to figure out how they build the vue.esm.browser.js file. Everything else seems to be in ./script/config.js but I can't find anything in there about esm in the browser. Is it using a dependency or something to generate the file?



I also noticed that it isn't listed in the output files when rollup runs.



So my question is, where in the Vue code base is it creating the esm.browser file?










share|improve this question














I am looking at vue and trying to figure out how they build the vue.esm.browser.js file. Everything else seems to be in ./script/config.js but I can't find anything in there about esm in the browser. Is it using a dependency or something to generate the file?



I also noticed that it isn't listed in the output files when rollup runs.



So my question is, where in the Vue code base is it creating the esm.browser file?







vue.js vuejs2 rollupjs






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 31 '18 at 3:54









JackieJackie

6,8971983176




6,8971983176













  • Well that explains a bit it looks like if I blow away the dist file and rebuild it isn't there so how do I generate it after the fact?

    – Jackie
    Dec 31 '18 at 3:56











  • Looking at package.json it seems like it's created using the dev:esm script.

    – chipit24
    Dec 31 '18 at 18:31











  • Nope that is absolutely not it that creates vue.runtime.esm.js not vue.esm.browser.js... rollup -w -c scripts/config.js --environment TARGET:web-runtime-esm

    – Jackie
    Dec 31 '18 at 23:26













  • The two files are github.com/vuejs/vue/blob/dev/dist/vue.runtime.esm.js and github.com/vuejs/vue/blob/dev/dist/vue.esm.browser.js Notice that the runtime one still contains refs to process.env

    – Jackie
    Dec 31 '18 at 23:28





















  • Well that explains a bit it looks like if I blow away the dist file and rebuild it isn't there so how do I generate it after the fact?

    – Jackie
    Dec 31 '18 at 3:56











  • Looking at package.json it seems like it's created using the dev:esm script.

    – chipit24
    Dec 31 '18 at 18:31











  • Nope that is absolutely not it that creates vue.runtime.esm.js not vue.esm.browser.js... rollup -w -c scripts/config.js --environment TARGET:web-runtime-esm

    – Jackie
    Dec 31 '18 at 23:26













  • The two files are github.com/vuejs/vue/blob/dev/dist/vue.runtime.esm.js and github.com/vuejs/vue/blob/dev/dist/vue.esm.browser.js Notice that the runtime one still contains refs to process.env

    – Jackie
    Dec 31 '18 at 23:28



















Well that explains a bit it looks like if I blow away the dist file and rebuild it isn't there so how do I generate it after the fact?

– Jackie
Dec 31 '18 at 3:56





Well that explains a bit it looks like if I blow away the dist file and rebuild it isn't there so how do I generate it after the fact?

– Jackie
Dec 31 '18 at 3:56













Looking at package.json it seems like it's created using the dev:esm script.

– chipit24
Dec 31 '18 at 18:31





Looking at package.json it seems like it's created using the dev:esm script.

– chipit24
Dec 31 '18 at 18:31













Nope that is absolutely not it that creates vue.runtime.esm.js not vue.esm.browser.js... rollup -w -c scripts/config.js --environment TARGET:web-runtime-esm

– Jackie
Dec 31 '18 at 23:26







Nope that is absolutely not it that creates vue.runtime.esm.js not vue.esm.browser.js... rollup -w -c scripts/config.js --environment TARGET:web-runtime-esm

– Jackie
Dec 31 '18 at 23:26















The two files are github.com/vuejs/vue/blob/dev/dist/vue.runtime.esm.js and github.com/vuejs/vue/blob/dev/dist/vue.esm.browser.js Notice that the runtime one still contains refs to process.env

– Jackie
Dec 31 '18 at 23:28







The two files are github.com/vuejs/vue/blob/dev/dist/vue.runtime.esm.js and github.com/vuejs/vue/blob/dev/dist/vue.esm.browser.js Notice that the runtime one still contains refs to process.env

– Jackie
Dec 31 '18 at 23:28














0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53983434%2fwhere-in-the-vue-code-base-is-it-creating-the-vue-esm-browser-js-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53983434%2fwhere-in-the-vue-code-base-is-it-creating-the-vue-esm-browser-js-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas