Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

VueJS Generating Empty file  #120

Closed
Closed
@ProjectBarks

Description

@ProjectBarks

Initial Context #118

Hi I would like to open this issue backup @LinusBorg and @yyx990803. So after some more changes to the code the build ended up failing again. It was working for a bit but I realized that when it was working it wasn't importing everything so the entire components/ directory was not being included. Furthermore, after some more changes to the core code vueify is not generating anything at all. The link to the repository is here if you would like to take a look. The file I am using to test is test.js. And all I do is run node test.js and after it executes I look at the results in build/bundle.js and for some reason there appears to be an empty file and nothing else. Any insight would be great!

test.js

const browserify = require("browserify");
const babelify = require("babelify");
const vueify = require("vueify");
const fs = require("fs");
const debug = require("gulp-debug");

console.log("Starting");
process.env.NODE_ENV = 'development';
const browserConfig = {
    entries: 'app/src/main.js',
    extension: ['.js', '.vue'],
    debug: true
};
browserify(browserConfig)
    .ignore('electron')
    .transform(vueify, {babel: {presets: ["es2015"]}})
    .transform(babelify, {presets: ["es2015"]})
    .bundle()
    .pipe(fs.createWriteStream('build/bundle.js'));

console.log("Done");

Let me know if you guys need anything else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions