split bundle and demo dir
This commit is contained in:
parent
2a34d7b638
commit
13c5719af1
@ -18,7 +18,7 @@ android {
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
assets.srcDirs = [project.rootDir.getParent() + "/js-framework/bundle"]
|
||||
assets.srcDirs = [project.rootDir.getParent() + "/js-framework/demo"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
1
js-framework/.gitignore
vendored
1
js-framework/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
node_modules/
|
||||
build/
|
||||
bundle/
|
||||
demo/
|
@ -30,10 +30,10 @@ export default [
|
||||
]
|
||||
},
|
||||
{
|
||||
input: "build/index.test.js",
|
||||
input: "build/demo.js",
|
||||
output: {
|
||||
format: "cjs",
|
||||
file: "bundle/test.js",
|
||||
file: "demo/demo.js",
|
||||
},
|
||||
sourceMap: true,
|
||||
plugins: [
|
||||
|
Reference in New Issue
Block a user