mirror of https://github.com/tauri-apps/tauri
fix(js-cli) npmignore wrong on windows
This commit is contained in:
parent
621b86ece4
commit
0b30d8d618
|
@ -1,11 +1,6 @@
|
|||
test
|
||||
docs
|
||||
docs-generator
|
||||
node_modules
|
||||
.git
|
||||
.github
|
||||
.idea
|
||||
SECURITY.md
|
||||
|
||||
src-tauri
|
||||
/tauri.conf.js
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tauri",
|
||||
"version": "0.1.7",
|
||||
"version": "0.1.8",
|
||||
"description": "Multi-binding collection of libraries and templates for building Tauri apps",
|
||||
"bin": {
|
||||
"tauri": "./bin/tauri.js"
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
const path = require('path')
|
||||
const distDir = path.resolve(__dirname, './dist')
|
||||
|
||||
module.exports = function () {
|
||||
return {
|
||||
automaticStart: {
|
||||
active: true
|
||||
},
|
||||
build: {
|
||||
distDir: distDir,
|
||||
devPath: 'http://localhost:4000' // devServer URL or path to html file
|
||||
},
|
||||
ctx: {},
|
||||
tauri: {
|
||||
embeddedServer: {
|
||||
active: true
|
||||
},
|
||||
bundle: {
|
||||
active: true
|
||||
},
|
||||
whitelist: {
|
||||
all: false
|
||||
},
|
||||
window: {
|
||||
title: 'Tauri App'
|
||||
},
|
||||
security: {
|
||||
csp: 'default-src data: filesystem: ws: http: https: \'unsafe-eval\' \'unsafe-inline\''
|
||||
}
|
||||
},
|
||||
edge: true
|
||||
}
|
||||
}
|
|
@ -47,6 +47,8 @@ Run \`tauri init --force template\` to overwrite.`)
|
|||
} catch (e) {
|
||||
if (logging) console.log(e)
|
||||
return false
|
||||
} finally {
|
||||
if (logging) log('Successfully wrote src-tauri')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue