Currently, I am attempting to transpile both .ts (TYPESCRIPT)
and .scss (SASS)
files.
However, I am encountering two main issues:
1) Instead of generating my file in the designated dist directory, it is creating a dist directory within the build folder.
2) Additionally, it is producing .js and .map files but failing to replicate the .css and .ts files. (I'm puzzled as to why it generates these other files but doesn't mimic them.)
PACKAGE.JSON
{
"scripts": {
"build": "yarn sass",
"sass": "parcel watch --no-cache ./scss/*.scss ../../dist/css/index.css",
"ts": ""
},
"devDependencies": {
"parcel-bundler": "^1.11.0",
"sass": "^1.17.0"
},
"dependencies": {
"bootstrap": "^4.2.1",
"jquery": "^3.3.1"
}
}