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

Add support TypeScript #812

Merged
merged 1 commit into from May 17, 2017

Conversation

Projects
None yet
4 participants
@oanhnn
Contributor

oanhnn commented May 17, 2017

Add support TypyScript

Install TypeScript before using:

$ npm install ts-loader typescript --save-dev

Usage:

// webpack.mix.js
let mix = require('laravel-mix');
mix.ts('src/hello-word.ts', 'dist/');
@hdl-helsinki

This comment has been minimized.

hdl-helsinki commented May 17, 2017

please add tests

@oanhnn

This comment has been minimized.

Contributor

oanhnn commented May 17, 2017

Current, test script not run my enviroment (on master banch without modified)
I will add test after it run.

@JeffreyWay JeffreyWay merged commit 18ae1b4 into JeffreyWay:master May 17, 2017

@JeffreyWay

This comment has been minimized.

Owner

JeffreyWay commented May 17, 2017

Thanks!

@oanhnn oanhnn deleted the oanhnn:add-support-typescript branch Jun 8, 2017

@oanhnn oanhnn restored the oanhnn:add-support-typescript branch Jun 8, 2017

@jhm-ciberman

This comment has been minimized.

jhm-ciberman commented Jul 23, 2018

I think this needs an official documentation on the Laravel Mix Github wiki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment