Closed mantaroh closed 1 year ago
This PR will make the Spear to support option which specifying generating target.
For example:
We specify the following option in InMemoryMagic (Browser mode. First parameter is whole of files, Second parameter is option)
InMemoryMagic
InMemoryMagic(files, { projectName: "Sample Program", spearlyAuthKey: "AUTH_KEY", plugins: [], componentsFolder: ["/src/components"], srcDir: ["/src"], distDir: "dist", quiteMode: false, targetPagesPathList: [ '/index' ], });
As result of above sample, spear will generate index.html only.
index.html
What is this ?
This PR will make the Spear to support option which specifying generating target.
For example:
We specify the following option in
InMemoryMagic
(Browser mode. First parameter is whole of files, Second parameter is option)As result of above sample, spear will generate
index.html
only.