Skip to content
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

feat(build): use common build process #10

Merged
merged 1 commit into from
Feb 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .babelrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
/.rpt2_cache

# built files
/babel-register/
/bin
/declarations
/dist
Expand Down
2 changes: 1 addition & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extension": ["js", "ts"],
"require": ["./babel.require.js"],
"require": ["./babel-register"],
"spec": ["./test/**/*.test.*"],
"watch-files": ["./src/**/*", "./test/**/*"]
}
35 changes: 35 additions & 0 deletions @types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,38 @@ declare module "*.txt" {
const value: string;
export default value;
}

declare module "@rollup/plugin-strip" {
const value: any;
export default value;
}

declare module "chai-fs" {
const value: any;
export default value;
}

declare module "postcss-assets" {
const value: any;
export default value;
}

declare module "rollup-plugin-analyzer" {
const value: any;
export default value;
}

declare module "rollup-plugin-babel" {
const value: any;
export default value;
}

declare module "rollup-plugin-postcss" {
const value: any;
export default value;
}

declare module "rollup-plugin-string" {
export const string: any;
export default string;
}
4 changes: 4 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
exclude: ["**/node_modules/**"],
presets: [["./babel-preset", { ts: true }]]
};
3 changes: 0 additions & 3 deletions babel.require.js

This file was deleted.

Loading