parcel-plugin-svelte icon indicating copy to clipboard operation
parcel-plugin-svelte copied to clipboard

Resolve tilde paths

Open cupcakearmy opened this issue 3 years ago • 0 comments

🐛 Bug Report

Resolve tilde paths according to https://parceljs.org/module_resolution.html#~-tilde-paths

🎛 Configuration (.svelterc, package.json, cli command)

No .svelterc

{
  "name": "braze-templates",
  "author": {
    "email": "[email protected]",
    "name": "Niccolo Borgioli",
    "url": "https://nicco.io"
  },
  "private": true,
  "version": "0.0.1",
  "scripts": {
    "start": "node helper.js",
    "build:app": "parcel build app/client/index.html --target electron -d app/client/dist --public-url .",
    "pack:macos": "yarn run build:app && electron-builder --macos"
  },
  "main": "./app/server.js",
  "browserslist": [
    "last 1 chrome versions",
    "last 1 safari versions"
  ],
  "build": {
    "appId": "com.lovoo.braze.templates"
  },
  "files": [
    "app",
    "templates"
  ],
  "devDependencies": {
    "@fullhuman/postcss-purgecss": "^2.3.0",
    "argparse": "^2.0.0",
    "electron": "^9.2.1",
    "electron-builder": "^22.8.0",
    "enquirer": "^2.3.6",
    "parcel-plugin-svelte": "^4.0.6",
    "svelte": "^3.24.1"
  },
  "dependencies": {
    "archiver": "^5.0.0",
    "chota": "^0.8.0",
    "electron-context-menu": "^2.3.0",
    "electron-window-state": "^5.0.3",
    "glob": "^7.1.6",
    "mustache": "^4.0.1",
    "parcel-bundler": "^1.12.4",
    "serve-handler": "^6.1.3",
    "shelljs": "^0.8.4",
    "svelte-chota": "^1.7.1",
    "tailwindcss": "^1.7.1"
  }
}

Svelte config, parcel config, command, ...

💻 Code Sample

Code sample, example repo

🌍 Your Environment

Svelte version, Parcel version

cupcakearmy avatar Aug 24 '20 12:08 cupcakearmy