-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEAD-13: add bundler + ts support #6
Conversation
webpack.config.js
Outdated
module: { | ||
rules: [ | ||
{ | ||
test: /\.tsx?$/, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tsx нужен для реакта, так как у нас хендлбарс, то надо убрать
webpack.config.js
Outdated
plugins: [ | ||
[ | ||
'postcss-preset-env', | ||
{ | ||
// Options | ||
}, | ||
], | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
если никакие options не прокидываешь, давай уберем. можно оставить просто 'postcss-loader'
webpack.config.js
Outdated
], | ||
}, | ||
resolve: { | ||
extensions: ['.tsx', '.ts', '.js'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tsx лишнее
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
css и scss/sass забыл
* app build: add webpack dep * app build: make module private * app build: change project structure * app build: add webpack config * app build: add build script * dist feat: run build * app build: add ts support * app build: add css loader * app build: add post-css loader * app build: change style regexp * app build: add babel * app build: webpack ref * app build: add eslint ignore * app build: add prettier ignore * app build: update .gitignore * app ref: rm ignored files * app build: fix webpack config * app build: add babel plugin for ts * app build: add title for webpack plugin * app build: add source map * app build: add style loader * app build: add sass loader * app build: remove src contents * app build: fix eslint ignore * app ci: disable legacy linter for ts * app build: update webpack options * app build: setup dev server * app build: ref entry path * app build: change npm start * app build: fix configs * app ci: remove super linter * app ci: add npm install * app ci: add node setup action * app ci: add npx to eslint call * app ci: add npm ci * app ci: update setup-node * app build: add hbs loader * app ref: delete example index.ts
No description provided.