mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
starting to lose my sense of humour
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
"scripts": {
|
||||
"cy:open": "cypress open",
|
||||
"test": "mocha --opts mocha.opts",
|
||||
"pretest": "npm run build",
|
||||
"pretest": "npm run build && echo \"seriously, wtf\" && ls . && ls dist",
|
||||
"build": "rm -rf dist && rollup -c",
|
||||
"dev": "rollup -cw",
|
||||
"prepublishOnly": "npm test",
|
||||
|
||||
@@ -16,7 +16,7 @@ export default [
|
||||
{
|
||||
input: `src/runtime/index.ts`,
|
||||
output: {
|
||||
file: path.join(__dirname, `runtime.js`),
|
||||
file: `./runtime.js`,
|
||||
format: 'es'
|
||||
},
|
||||
plugins: [
|
||||
@@ -37,7 +37,7 @@ export default [
|
||||
`src/webpack.ts`
|
||||
],
|
||||
output: {
|
||||
dir: path.join(__dirname, 'dist'),
|
||||
dir: './dist',
|
||||
format: 'cjs',
|
||||
sourcemap: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user